Boundary Conditions

Boundary Conditions#

# Import Libraries
%run /Users/u4eeevmq/Documents/Python/HyporheicFloPy/VQuintana/common_imports.py

# Retrieve stored variables
%store -r md6_exe_path
%store -r md7_exe_path
%store -r sim_name
%store -r workspace
%store -r figs_path
%store -r gwf_name
%store -r prt_name
%store -r mp7_name
%store -r gwf_ws
%store -r prt_ws
%store -r mp7_ws
%store -r headfile
%store -r head_filerecord
%store -r headfile_prt
%store -r budgetfile
%store -r budget_filerecord
%store -r budgetfile_prt
%store -r budget_filerecord_prt
%store -r trackfile_prt
%store -r trackhdrfile_prt
%store -r trackcsvfile_prt
%store -r write
%store -r run
%store -r plot
%store -r plot_show
%store -r plot_save

# Retrieve model parameters
%store -r length_units
%store -r time_units
%store -r nper
%store -r cell_size_x
%store -r cell_size_y
%store -r gw_mod_depth
%store -r z
%store -r kh
%store -r kv
%store -r gw_offset
%store -r porosity
%store -r rch_iface
%store -r rch_iflowface
%store -r recharge_rate
%store -r nstp
%store -r perlen
%store -r tsmult

# Retrieve spatial data
%store -r hec_ras_crs
%store -r terrain_elevation
%store -r raster_transform
%store -r transform
%store -r raster_crs
%store -r output_raster
%store -r cropped_output_raster
%store -r ground_water_domain
%store -r left_boundary
%store -r right_boundary

# retrieve model domain data
%store -r terrain_elevation
%store -r raster_transform
%store -r raster_crs
%store -r raster_bounds_box
%store -r bed_elevation
%store -r raster_width
%store -r raster_height
%store -r ncol
%store -r nrow
%store -r top
%store -r nlay
%store -r grid_x
%store -r grid_y
%store -r grid_points
%store -r intersecting_points
%store -r xorigin
%store -r yorigin
%store -r xmin
%store -r ymin
%store -r xmax
%store -r ymax
%store -r tops
%store -r botm

# retrieve model boundary data
%store -r left_start
%store -r left_end
%store -r right_start
%store -r right_end
%store -r upstream_start_x
%store -r upstream_start_y
%store -r upstream_end_x
%store -r upstream_end_y
%store -r downstream_start_x
%store -r downstream_start_y
%store -r downstream_end_x
%store -r downstream_end_y
%store -r upstream_line
%store -r downstream_line
%store -r upstream_boundary
%store -r downstream_boundary
%store -r grid_cells
%store -r grid_gdf
%store -r idomain

# Suppress specific warnings
warnings.filterwarnings("ignore", category=DeprecationWarning)
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
Cell In[1], line 110
    107 get_ipython().run_line_magic('store', '-r idomain')
    109 # Suppress specific warnings
--> 110 warnings.filterwarnings("ignore", category=DeprecationWarning)

NameError: name 'warnings' is not defined
#---------------------------Identify Boundary Cells-----------------------------#
## Perform a spatial analysis to identify boundary cells 
grid_gdf["intersect_left_boundary"] = grid_gdf.geometry.intersects(left_boundary.unary_union)
grid_gdf["intersect_right_boundary"] = grid_gdf.geometry.intersects(right_boundary.unary_union)
grid_gdf["intersect_upstream_boundary"] = grid_gdf.geometry.intersects(upstream_boundary.unary_union)
grid_gdf["intersect_downstream_boundary"] = grid_gdf.geometry.intersects(downstream_boundary.unary_union)

## Function to locate boundary cells
def identify_boundary_cells(idomain):
    boundary_cells = set()
    nlay, nrow, ncol = idomain.shape

    for row in range(nrow):
        for col in range(ncol):
            if idomain[0, row, col] == 1:
                if (
                    row > 0 and idomain[0, row - 1, col] == 0 or
                    row < nrow - 1 and idomain[0, row + 1, col] == 0 or
                    col > 0 and idomain[0, row, col - 1] == 0 or
                    col < ncol - 1 and idomain[0, row, col + 1] == 0
                ):
                    for layer in range(nlay):
                        boundary_cells.add((layer, row, col))

    print(f"✅ Identified {len(boundary_cells)} model boundary cells.")
    return list(boundary_cells)

boundary_cells = identify_boundary_cells(idomain)

## Classify boundary cells based on proximity to boundary lines
def classify_boundary_cells(boundary_cells, grid_gdf, left_boundary, right_boundary, upstream_boundary, downstream_boundary):
    classified_cells = set()
    left_boundary_cells = []
    right_boundary_cells = []
    upstream_boundary_cells = []
    downstream_boundary_cells = []

    for layer, row, col in boundary_cells:
        if (layer, row, col) in classified_cells:
            continue  # Skip already classified cells

        cell = grid_gdf.iloc[row * ncol + col]
        distances = {
            "left": cell.geometry.distance(left_boundary.unary_union),
            "right": cell.geometry.distance(right_boundary.unary_union),
            "upstream": cell.geometry.distance(upstream_boundary.unary_union),
            "downstream": cell.geometry.distance(downstream_boundary.unary_union)
        }
        closest_boundary = min(distances, key=distances.get)
        if closest_boundary == "left":
            left_boundary_cells.append((layer, row, col))
        elif closest_boundary == "right":
            right_boundary_cells.append((layer, row, col))
        elif closest_boundary == "upstream":
            upstream_boundary_cells.append((layer, row, col))
        elif closest_boundary == "downstream":
            downstream_boundary_cells.append((layer, row, col))

        classified_cells.add((layer, row, col))  # Mark cell as classified

    return left_boundary_cells, right_boundary_cells, upstream_boundary_cells, downstream_boundary_cells

left_boundary_cells, right_boundary_cells, upstream_boundary_cells, downstream_boundary_cells = classify_boundary_cells(
    boundary_cells, grid_gdf, left_boundary, right_boundary, upstream_boundary, downstream_boundary
)

## Combine all boundary cells into a single list
all_boundary_cells = left_boundary_cells + right_boundary_cells + upstream_boundary_cells + downstream_boundary_cells

## Print the number of boundary cells identified for each boundary type
print(f"✅ Left Boundary Cells: {len(left_boundary_cells)}")
print(f"✅ Right Boundary Cells: {len(right_boundary_cells)}")
print(f"✅ Upstream Boundary Cells: {len(upstream_boundary_cells)}")
print(f"✅ Downstream Boundary Cells: {len(downstream_boundary_cells)}")

## Check for duplicates in the combined boundary cells
unique_boundary_cells = set(all_boundary_cells)
if len(unique_boundary_cells) != len(all_boundary_cells):
    print(f"❌ Found {len(all_boundary_cells) - len(unique_boundary_cells)} duplicate entries in combined boundary cells.")
else:
    print("✅ No duplicate entries found in combined boundary cells.")

## Print the total number of unique boundary cells
print(f"✅ Total Unique Boundary Cells: {len(unique_boundary_cells)}")

## Print the number of cells for each boundary type in the first layer
left_boundary_cells_first_layer = [cell for cell in left_boundary_cells if cell[0] == 0]
right_boundary_cells_first_layer = [cell for cell in right_boundary_cells if cell[0] == 0]
upstream_boundary_cells_first_layer = [cell for cell in upstream_boundary_cells if cell[0] == 0]
downstream_boundary_cells_first_layer = [cell for cell in downstream_boundary_cells if cell[0] == 0]

## Should match the amount of boundary cells identified in the first layer
print(f"✅ Left Boundary Cells (First Layer): {len(left_boundary_cells_first_layer)}")
print(f"✅ Right Boundary Cells (First Layer): {len(right_boundary_cells_first_layer)}")
print(f"✅ Upstream Boundary Cells (First Layer): {len(upstream_boundary_cells_first_layer)}")
print(f"✅ Downstream Boundary Cells (First Layer): {len(downstream_boundary_cells_first_layer)}")
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:3: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  grid_gdf["intersect_left_boundary"] = grid_gdf.geometry.intersects(left_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:4: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  grid_gdf["intersect_right_boundary"] = grid_gdf.geometry.intersects(right_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:5: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  grid_gdf["intersect_upstream_boundary"] = grid_gdf.geometry.intersects(upstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:6: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  grid_gdf["intersect_downstream_boundary"] = grid_gdf.geometry.intersects(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
✅ Identified 6640 model boundary cells.
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
✅ Left Boundary Cells: 2080
✅ Right Boundary Cells: 1920
✅ Upstream Boundary Cells: 1120
✅ Downstream Boundary Cells: 1520
✅ No duplicate entries found in combined boundary cells.
✅ Total Unique Boundary Cells: 6640
✅ Left Boundary Cells (First Layer): 52
✅ Right Boundary Cells (First Layer): 48
✅ Upstream Boundary Cells (First Layer): 28
✅ Downstream Boundary Cells (First Layer): 38
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:44: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "left": cell.geometry.distance(left_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:45: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "right": cell.geometry.distance(right_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:46: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "upstream": cell.geometry.distance(upstream_boundary.unary_union),
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3563183910.py:47: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
  "downstream": cell.geometry.distance(downstream_boundary.unary_union)
#----------------------Calculate Ground Water Elevation------------------------#
## Define the grid points (assuming grid_points is a GeoDataFrame with 'geometry' column)
grid_points_coords = [(point.x, point.y) for point in grid_points.geometry]

## Extract elevation values at grid points
elevation_values = []
with rasterio.open(cropped_output_raster) as src:
    for x, y in grid_points_coords:
        row, col = rowcol(src.transform, x, y)
        if 0 <= row < src.height and 0 <= col < src.width:
            elevation = src.read(1)[row, col]
            elevation_values.append(elevation)
        else:
            elevation_values.append(None)  # Append None if the point is out of bounds

## Create a DataFrame with the grid points and their corresponding elevation values
grid_points_df = pd.DataFrame({
    'x': [coord[0] for coord in grid_points_coords],
    'y': [coord[1] for coord in grid_points_coords],
    'elevation': elevation_values
})

## Save the DataFrame to a CSV file
output_csv = "grid_points_elevation.csv"
grid_points_df.to_csv(output_csv, index=False)

print(f"Grid points elevation values saved as {output_csv}")

## Read the CSV file
grid_points_df = pd.read_csv(output_csv)

## Function to get max elevation for boundary cells
def get_max_elevation(boundary_cells_coords, grid_points_df):
    elevations = []
    for x, y in boundary_cells_coords:
        elevation = grid_points_df.loc[(grid_points_df['x'] == x) & (grid_points_df['y'] == y), 'elevation'].values
        if elevation.size > 0:
            elevations.append(elevation[0])
    return max(elevations) if elevations else None

## Find matching coordinates for boundary cells
upstream_boundary_cells_coords = [(grid_x[row, col], grid_y[row, col]) for _, row, col in upstream_boundary_cells_first_layer]
downstream_boundary_cells_coords = [(grid_x[row, col], grid_y[row, col]) for _, row, col in downstream_boundary_cells_first_layer]

## Calculate max surface water elevation for upstream and downstream boundary cells
max_elevation_upstream = get_max_elevation(upstream_boundary_cells_coords, grid_points_df)
max_elevation_downstream = get_max_elevation(downstream_boundary_cells_coords, grid_points_df)

## Print max elevations
print("Max Elevation Upstream Boundary:", max_elevation_upstream)
print("Max Elevation Downstream Boundary:", max_elevation_downstream)
Grid points elevation values saved as grid_points_elevation.csv
Max Elevation Upstream Boundary: 1604.76611328125
Max Elevation Downstream Boundary: 1600.780029296875
#----------------------Assign Groundwater Elevation to Boundary Conditions------------------------#
## Assign Groundwater Elevation to Boundary Cells
def calculate_gw_elevation(boundary_cells, top_elevation, offset):
    gw_elevation_min = []
    for cell in boundary_cells:
        layer, row, col = cell
        gw_elevation = top_elevation + offset  # Simply add the offset to the scalar top_elevation
        gw_elevation_min.append(gw_elevation)
    return gw_elevation_min

## Identify first and last cell for each boundary
def get_boundary_first_last(boundary_cells):
    if not boundary_cells:
        return None, None
    return boundary_cells[0], boundary_cells[-1]

left_boundary_first, left_boundary_last = get_boundary_first_last(left_boundary_cells_first_layer)
right_boundary_first, right_boundary_last = get_boundary_first_last(right_boundary_cells_first_layer)
upstream_boundary_first, upstream_boundary_last = get_boundary_first_last(upstream_boundary_cells_first_layer)
downstream_boundary_first, downstream_boundary_last = get_boundary_first_last(downstream_boundary_cells_first_layer)

## Calculate groundwater elevations for each boundary
gw_elevation_left_first = calculate_gw_elevation([left_boundary_first], max_elevation_upstream, gw_offset)[0]
gw_elevation_left_last = calculate_gw_elevation([left_boundary_last], max_elevation_downstream, gw_offset)[0]

gw_elevation_right_first = calculate_gw_elevation([right_boundary_first], max_elevation_upstream, gw_offset)[0]
gw_elevation_right_last = calculate_gw_elevation([right_boundary_last], max_elevation_downstream, gw_offset)[0]

gw_elevation_upstream_first = calculate_gw_elevation([upstream_boundary_first], max_elevation_upstream, gw_offset)[0]
gw_elevation_upstream_last = calculate_gw_elevation([upstream_boundary_last], max_elevation_upstream, gw_offset)[0]

gw_elevation_downstream_first = calculate_gw_elevation([downstream_boundary_first], max_elevation_downstream, gw_offset)[0]
gw_elevation_downstream_last = calculate_gw_elevation([downstream_boundary_last], max_elevation_downstream, gw_offset)[0]

## Debugging: Print the calculated groundwater elevations
print("Left Boundary Groundwater Elevation First:", gw_elevation_left_first)
print("Left Boundary Groundwater Elevation Last:", gw_elevation_left_last)
print("Right Boundary Groundwater Elevation First:", gw_elevation_right_first)
print("Right Boundary Groundwater Elevation Last:", gw_elevation_right_last)
print("Upstream Boundary Groundwater Elevation First:", gw_elevation_upstream_first)
print("Upstream Boundary Groundwater Elevation Last:", gw_elevation_upstream_last)
print("Downstream Boundary Groundwater Elevation First:", gw_elevation_downstream_first)
print("Downstream Boundary Groundwater Elevation Last:", gw_elevation_downstream_last)

## Interpolate Groundwater Elevation Across Boundary Cells
def interpolate_gw_elevation(boundary_cells, gw_elevation_first, gw_elevation_last):
    n = len(boundary_cells)
    if n <= 1:
        return [gw_elevation_first] * n
    interpolated_gw_elevations = []
    for i in range(n):
        interpolated_value = gw_elevation_first + (gw_elevation_last - gw_elevation_first) * i / (n - 1)
        interpolated_gw_elevations.append(interpolated_value)
    return interpolated_gw_elevations

## Interpolate groundwater elevations for each boundary
gw_elevation_left = interpolate_gw_elevation(left_boundary_cells, gw_elevation_left_first, gw_elevation_left_last)
gw_elevation_right = interpolate_gw_elevation(right_boundary_cells, gw_elevation_right_first, gw_elevation_right_last)
gw_elevation_upstream = interpolate_gw_elevation(upstream_boundary_cells, gw_elevation_upstream_first, gw_elevation_upstream_last)
gw_elevation_downstream = interpolate_gw_elevation(downstream_boundary_cells, gw_elevation_downstream_first, gw_elevation_downstream_last)

## Debugging: Print the interpolated groundwater elevations
print("Left Boundary Groundwater Elevations:", gw_elevation_left)
print("Right Boundary Groundwater Elevations:", gw_elevation_right)
print("Upstream Boundary Groundwater Elevations:", gw_elevation_upstream)
print("Downstream Boundary Groundwater Elevations:", gw_elevation_downstream)
Left Boundary Groundwater Elevation First: 1605.26611328125
Left Boundary Groundwater Elevation Last: 1601.280029296875
Right Boundary Groundwater Elevation First: 1605.26611328125
Right Boundary Groundwater Elevation Last: 1601.280029296875
Upstream Boundary Groundwater Elevation First: 1605.26611328125
Upstream Boundary Groundwater Elevation Last: 1605.26611328125
Downstream Boundary Groundwater Elevation First: 1601.280029296875
Downstream Boundary Groundwater Elevation Last: 1601.280029296875
Left Boundary Groundwater Elevations: [np.float64(1605.26611328125), np.float64(1605.2641959729362), np.float64(1605.2622786646225), np.float64(1605.2603613563085), np.float64(1605.2584440479948), np.float64(1605.256526739681), np.float64(1605.2546094313673), np.float64(1605.2526921230535), np.float64(1605.2507748147398), np.float64(1605.2488575064258), np.float64(1605.246940198112), np.float64(1605.2450228897983), np.float64(1605.2431055814845), np.float64(1605.2411882731708), np.float64(1605.2392709648568), np.float64(1605.237353656543), np.float64(1605.2354363482293), np.float64(1605.2335190399156), np.float64(1605.2316017316018), np.float64(1605.2296844232878), np.float64(1605.227767114974), np.float64(1605.2258498066603), np.float64(1605.2239324983466), np.float64(1605.2220151900328), np.float64(1605.220097881719), np.float64(1605.218180573405), np.float64(1605.2162632650914), np.float64(1605.2143459567776), np.float64(1605.2124286484639), np.float64(1605.21051134015), np.float64(1605.2085940318361), np.float64(1605.2066767235224), np.float64(1605.2047594152086), np.float64(1605.2028421068949), np.float64(1605.2009247985811), np.float64(1605.1990074902671), np.float64(1605.1970901819534), np.float64(1605.1951728736396), np.float64(1605.193255565326), np.float64(1605.1913382570121), np.float64(1605.1894209486984), np.float64(1605.1875036403844), np.float64(1605.1855863320707), np.float64(1605.183669023757), np.float64(1605.1817517154432), np.float64(1605.1798344071294), np.float64(1605.1779170988154), np.float64(1605.1759997905017), np.float64(1605.174082482188), np.float64(1605.1721651738742), np.float64(1605.1702478655604), np.float64(1605.1683305572465), np.float64(1605.1664132489327), np.float64(1605.164495940619), np.float64(1605.1625786323052), np.float64(1605.1606613239915), np.float64(1605.1587440156777), np.float64(1605.1568267073637), np.float64(1605.15490939905), np.float64(1605.1529920907362), np.float64(1605.1510747824225), np.float64(1605.1491574741087), np.float64(1605.1472401657948), np.float64(1605.145322857481), np.float64(1605.1434055491673), np.float64(1605.1414882408535), np.float64(1605.1395709325398), np.float64(1605.1376536242258), np.float64(1605.135736315912), np.float64(1605.1338190075983), np.float64(1605.1319016992845), np.float64(1605.1299843909708), np.float64(1605.128067082657), np.float64(1605.126149774343), np.float64(1605.1242324660293), np.float64(1605.1223151577155), np.float64(1605.1203978494018), np.float64(1605.118480541088), np.float64(1605.116563232774), np.float64(1605.1146459244603), np.float64(1605.1127286161466), np.float64(1605.1108113078328), np.float64(1605.108893999519), np.float64(1605.1069766912053), np.float64(1605.1050593828913), np.float64(1605.1031420745776), np.float64(1605.1012247662638), np.float64(1605.09930745795), np.float64(1605.0973901496363), np.float64(1605.0954728413224), np.float64(1605.0935555330086), np.float64(1605.0916382246949), np.float64(1605.089720916381), np.float64(1605.0878036080674), np.float64(1605.0858862997534), np.float64(1605.0839689914396), np.float64(1605.0820516831259), np.float64(1605.0801343748121), np.float64(1605.0782170664984), np.float64(1605.0762997581846), np.float64(1605.0743824498707), np.float64(1605.072465141557), np.float64(1605.0705478332432), np.float64(1605.0686305249294), np.float64(1605.0667132166157), np.float64(1605.0647959083017), np.float64(1605.062878599988), np.float64(1605.0609612916742), np.float64(1605.0590439833604), np.float64(1605.0571266750467), np.float64(1605.0552093667327), np.float64(1605.053292058419), np.float64(1605.0513747501052), np.float64(1605.0494574417914), np.float64(1605.0475401334777), np.float64(1605.045622825164), np.float64(1605.04370551685), np.float64(1605.0417882085362), np.float64(1605.0398709002225), np.float64(1605.0379535919087), np.float64(1605.036036283595), np.float64(1605.034118975281), np.float64(1605.0322016669672), np.float64(1605.0302843586535), np.float64(1605.0283670503397), np.float64(1605.026449742026), np.float64(1605.024532433712), np.float64(1605.0226151253983), np.float64(1605.0206978170845), np.float64(1605.0187805087708), np.float64(1605.016863200457), np.float64(1605.0149458921433), np.float64(1605.0130285838293), np.float64(1605.0111112755155), np.float64(1605.0091939672018), np.float64(1605.007276658888), np.float64(1605.0053593505743), np.float64(1605.0034420422603), np.float64(1605.0015247339466), np.float64(1604.9996074256328), np.float64(1604.997690117319), np.float64(1604.9957728090053), np.float64(1604.9938555006913), np.float64(1604.9919381923776), np.float64(1604.9900208840638), np.float64(1604.98810357575), np.float64(1604.9861862674363), np.float64(1604.9842689591226), np.float64(1604.9823516508086), np.float64(1604.9804343424948), np.float64(1604.978517034181), np.float64(1604.9765997258673), np.float64(1604.9746824175536), np.float64(1604.9727651092396), np.float64(1604.9708478009259), np.float64(1604.9689304926121), np.float64(1604.9670131842984), np.float64(1604.9650958759846), np.float64(1604.9631785676709), np.float64(1604.961261259357), np.float64(1604.9593439510431), np.float64(1604.9574266427294), np.float64(1604.9555093344156), np.float64(1604.953592026102), np.float64(1604.951674717788), np.float64(1604.9497574094742), np.float64(1604.9478401011604), np.float64(1604.9459227928467), np.float64(1604.944005484533), np.float64(1604.942088176219), np.float64(1604.9401708679052), np.float64(1604.9382535595914), np.float64(1604.9363362512777), np.float64(1604.934418942964), np.float64(1604.9325016346502), np.float64(1604.9305843263362), np.float64(1604.9286670180225), np.float64(1604.9267497097087), np.float64(1604.924832401395), np.float64(1604.9229150930812), np.float64(1604.9209977847672), np.float64(1604.9190804764535), np.float64(1604.9171631681397), np.float64(1604.915245859826), np.float64(1604.9133285515122), np.float64(1604.9114112431982), np.float64(1604.9094939348845), np.float64(1604.9075766265707), np.float64(1604.905659318257), np.float64(1604.9037420099432), np.float64(1604.9018247016295), np.float64(1604.8999073933155), np.float64(1604.8979900850018), np.float64(1604.896072776688), np.float64(1604.8941554683743), np.float64(1604.8922381600605), np.float64(1604.8903208517465), np.float64(1604.8884035434328), np.float64(1604.886486235119), np.float64(1604.8845689268053), np.float64(1604.8826516184915), np.float64(1604.8807343101776), np.float64(1604.8788170018638), np.float64(1604.87689969355), np.float64(1604.8749823852363), np.float64(1604.8730650769226), np.float64(1604.8711477686088), np.float64(1604.8692304602948), np.float64(1604.867313151981), np.float64(1604.8653958436673), np.float64(1604.8634785353536), np.float64(1604.8615612270398), np.float64(1604.8596439187259), np.float64(1604.857726610412), np.float64(1604.8558093020984), np.float64(1604.8538919937846), np.float64(1604.8519746854709), np.float64(1604.850057377157), np.float64(1604.8481400688431), np.float64(1604.8462227605294), np.float64(1604.8443054522156), np.float64(1604.8423881439019), np.float64(1604.8404708355881), np.float64(1604.8385535272741), np.float64(1604.8366362189604), np.float64(1604.8347189106466), np.float64(1604.832801602333), np.float64(1604.8308842940191), np.float64(1604.8289669857052), np.float64(1604.8270496773914), np.float64(1604.8251323690777), np.float64(1604.823215060764), np.float64(1604.8212977524502), np.float64(1604.8193804441364), np.float64(1604.8174631358224), np.float64(1604.8155458275087), np.float64(1604.813628519195), np.float64(1604.8117112108812), np.float64(1604.8097939025674), np.float64(1604.8078765942535), np.float64(1604.8059592859397), np.float64(1604.804041977626), np.float64(1604.8021246693122), np.float64(1604.8002073609985), np.float64(1604.7982900526845), np.float64(1604.7963727443707), np.float64(1604.794455436057), np.float64(1604.7925381277432), np.float64(1604.7906208194295), np.float64(1604.7887035111157), np.float64(1604.7867862028017), np.float64(1604.784868894488), np.float64(1604.7829515861742), np.float64(1604.7810342778605), np.float64(1604.7791169695467), np.float64(1604.7771996612328), np.float64(1604.775282352919), np.float64(1604.7733650446053), np.float64(1604.7714477362915), np.float64(1604.7695304279778), np.float64(1604.7676131196638), np.float64(1604.76569581135), np.float64(1604.7637785030363), np.float64(1604.7618611947225), np.float64(1604.7599438864088), np.float64(1604.758026578095), np.float64(1604.756109269781), np.float64(1604.7541919614673), np.float64(1604.7522746531536), np.float64(1604.7503573448398), np.float64(1604.748440036526), np.float64(1604.746522728212), np.float64(1604.7446054198983), np.float64(1604.7426881115846), np.float64(1604.7407708032708), np.float64(1604.738853494957), np.float64(1604.736936186643), np.float64(1604.7350188783294), np.float64(1604.7331015700156), np.float64(1604.7311842617019), np.float64(1604.729266953388), np.float64(1604.7273496450744), np.float64(1604.7254323367604), np.float64(1604.7235150284466), np.float64(1604.7215977201329), np.float64(1604.7196804118191), np.float64(1604.7177631035054), np.float64(1604.7158457951914), np.float64(1604.7139284868776), np.float64(1604.712011178564), np.float64(1604.7100938702501), np.float64(1604.7081765619364), np.float64(1604.7062592536226), np.float64(1604.7043419453087), np.float64(1604.702424636995), np.float64(1604.7005073286812), np.float64(1604.6985900203674), np.float64(1604.6966727120537), np.float64(1604.6947554037397), np.float64(1604.692838095426), np.float64(1604.6909207871122), np.float64(1604.6890034787984), np.float64(1604.6870861704847), np.float64(1604.6851688621707), np.float64(1604.683251553857), np.float64(1604.6813342455432), np.float64(1604.6794169372295), np.float64(1604.6774996289157), np.float64(1604.675582320602), np.float64(1604.673665012288), np.float64(1604.6717477039742), np.float64(1604.6698303956605), np.float64(1604.6679130873467), np.float64(1604.665995779033), np.float64(1604.664078470719), np.float64(1604.6621611624053), np.float64(1604.6602438540915), np.float64(1604.6583265457778), np.float64(1604.656409237464), np.float64(1604.65449192915), np.float64(1604.6525746208363), np.float64(1604.6506573125225), np.float64(1604.6487400042088), np.float64(1604.646822695895), np.float64(1604.6449053875813), np.float64(1604.6429880792673), np.float64(1604.6410707709535), np.float64(1604.6391534626398), np.float64(1604.637236154326), np.float64(1604.6353188460123), np.float64(1604.6334015376983), np.float64(1604.6314842293846), np.float64(1604.6295669210708), np.float64(1604.627649612757), np.float64(1604.6257323044433), np.float64(1604.6238149961293), np.float64(1604.6218976878156), np.float64(1604.6199803795018), np.float64(1604.618063071188), np.float64(1604.6161457628743), np.float64(1604.6142284545606), np.float64(1604.6123111462466), np.float64(1604.6103938379329), np.float64(1604.608476529619), np.float64(1604.6065592213054), np.float64(1604.6046419129916), np.float64(1604.6027246046776), np.float64(1604.6008072963639), np.float64(1604.5988899880501), np.float64(1604.5969726797364), np.float64(1604.5950553714226), np.float64(1604.5931380631087), np.float64(1604.591220754795), np.float64(1604.5893034464812), np.float64(1604.5873861381674), np.float64(1604.5854688298537), np.float64(1604.58355152154), np.float64(1604.581634213226), np.float64(1604.5797169049122), np.float64(1604.5777995965984), np.float64(1604.5758822882847), np.float64(1604.573964979971), np.float64(1604.572047671657), np.float64(1604.5701303633432), np.float64(1604.5682130550294), np.float64(1604.5662957467157), np.float64(1604.564378438402), np.float64(1604.5624611300882), np.float64(1604.5605438217742), np.float64(1604.5586265134605), np.float64(1604.5567092051467), np.float64(1604.554791896833), np.float64(1604.5528745885192), np.float64(1604.5509572802052), np.float64(1604.5490399718915), np.float64(1604.5471226635777), np.float64(1604.545205355264), np.float64(1604.5432880469502), np.float64(1604.5413707386363), np.float64(1604.5394534303225), np.float64(1604.5375361220088), np.float64(1604.535618813695), np.float64(1604.5337015053813), np.float64(1604.5317841970675), np.float64(1604.5298668887535), np.float64(1604.5279495804398), np.float64(1604.526032272126), np.float64(1604.5241149638123), np.float64(1604.5221976554985), np.float64(1604.5202803471846), np.float64(1604.5183630388708), np.float64(1604.516445730557), np.float64(1604.5145284222433), np.float64(1604.5126111139296), np.float64(1604.5106938056156), np.float64(1604.5087764973018), np.float64(1604.506859188988), np.float64(1604.5049418806743), np.float64(1604.5030245723606), np.float64(1604.5011072640468), np.float64(1604.4991899557328), np.float64(1604.497272647419), np.float64(1604.4953553391053), np.float64(1604.4934380307916), np.float64(1604.4915207224778), np.float64(1604.4896034141639), np.float64(1604.4876861058501), np.float64(1604.4857687975364), np.float64(1604.4838514892226), np.float64(1604.4819341809089), np.float64(1604.480016872595), np.float64(1604.4780995642811), np.float64(1604.4761822559674), np.float64(1604.4742649476536), np.float64(1604.47234763934), np.float64(1604.4704303310261), np.float64(1604.4685130227122), np.float64(1604.4665957143984), np.float64(1604.4646784060847), np.float64(1604.462761097771), np.float64(1604.4608437894572), np.float64(1604.4589264811432), np.float64(1604.4570091728294), np.float64(1604.4550918645157), np.float64(1604.453174556202), np.float64(1604.4512572478882), np.float64(1604.4493399395742), np.float64(1604.4474226312605), np.float64(1604.4455053229467), np.float64(1604.443588014633), np.float64(1604.4416707063192), np.float64(1604.4397533980055), np.float64(1604.4378360896915), np.float64(1604.4359187813777), np.float64(1604.434001473064), np.float64(1604.4320841647502), np.float64(1604.4301668564365), np.float64(1604.4282495481225), np.float64(1604.4263322398087), np.float64(1604.424414931495), np.float64(1604.4224976231812), np.float64(1604.4205803148675), np.float64(1604.4186630065537), np.float64(1604.4167456982398), np.float64(1604.414828389926), np.float64(1604.4129110816123), np.float64(1604.4109937732985), np.float64(1604.4090764649848), np.float64(1604.4071591566708), np.float64(1604.405241848357), np.float64(1604.4033245400433), np.float64(1604.4014072317295), np.float64(1604.3994899234158), np.float64(1604.3975726151018), np.float64(1604.395655306788), np.float64(1604.3937379984743), np.float64(1604.3918206901606), np.float64(1604.3899033818468), np.float64(1604.387986073533), np.float64(1604.386068765219), np.float64(1604.3841514569053), np.float64(1604.3822341485916), np.float64(1604.3803168402778), np.float64(1604.378399531964), np.float64(1604.37648222365), np.float64(1604.3745649153364), np.float64(1604.3726476070226), np.float64(1604.3707302987088), np.float64(1604.368812990395), np.float64(1604.3668956820811), np.float64(1604.3649783737674), np.float64(1604.3630610654536), np.float64(1604.3611437571399), np.float64(1604.3592264488261), np.float64(1604.3573091405124), np.float64(1604.3553918321984), np.float64(1604.3534745238846), np.float64(1604.351557215571), np.float64(1604.3496399072571), np.float64(1604.3477225989434), np.float64(1604.3458052906294), np.float64(1604.3438879823157), np.float64(1604.341970674002), np.float64(1604.3400533656882), np.float64(1604.3381360573744), np.float64(1604.3362187490604), np.float64(1604.3343014407467), np.float64(1604.332384132433), np.float64(1604.3304668241192), np.float64(1604.3285495158054), np.float64(1604.3266322074917), np.float64(1604.3247148991777), np.float64(1604.322797590864), np.float64(1604.3208802825502), np.float64(1604.3189629742365), np.float64(1604.3170456659227), np.float64(1604.3151283576087), np.float64(1604.313211049295), np.float64(1604.3112937409812), np.float64(1604.3093764326675), np.float64(1604.3074591243537), np.float64(1604.3055418160397), np.float64(1604.303624507726), np.float64(1604.3017071994122), np.float64(1604.2997898910985), np.float64(1604.2978725827847), np.float64(1604.295955274471), np.float64(1604.294037966157), np.float64(1604.2921206578433), np.float64(1604.2902033495295), np.float64(1604.2882860412158), np.float64(1604.286368732902), np.float64(1604.284451424588), np.float64(1604.2825341162743), np.float64(1604.2806168079605), np.float64(1604.2786994996468), np.float64(1604.276782191333), np.float64(1604.2748648830193), np.float64(1604.2729475747053), np.float64(1604.2710302663916), np.float64(1604.2691129580778), np.float64(1604.267195649764), np.float64(1604.2652783414503), np.float64(1604.2633610331363), np.float64(1604.2614437248226), np.float64(1604.2595264165088), np.float64(1604.257609108195), np.float64(1604.2556917998813), np.float64(1604.2537744915674), np.float64(1604.2518571832536), np.float64(1604.2499398749399), np.float64(1604.248022566626), np.float64(1604.2461052583124), np.float64(1604.2441879499986), np.float64(1604.2422706416846), np.float64(1604.2403533333709), np.float64(1604.2384360250571), np.float64(1604.2365187167434), np.float64(1604.2346014084296), np.float64(1604.2326841001156), np.float64(1604.230766791802), np.float64(1604.2288494834881), np.float64(1604.2269321751744), np.float64(1604.2250148668606), np.float64(1604.2230975585467), np.float64(1604.221180250233), np.float64(1604.2192629419192), np.float64(1604.2173456336054), np.float64(1604.2154283252917), np.float64(1604.213511016978), np.float64(1604.211593708664), np.float64(1604.2096764003502), np.float64(1604.2077590920364), np.float64(1604.2058417837227), np.float64(1604.203924475409), np.float64(1604.202007167095), np.float64(1604.2000898587812), np.float64(1604.1981725504675), np.float64(1604.1962552421537), np.float64(1604.19433793384), np.float64(1604.192420625526), np.float64(1604.1905033172122), np.float64(1604.1885860088985), np.float64(1604.1866687005847), np.float64(1604.184751392271), np.float64(1604.1828340839572), np.float64(1604.1809167756433), np.float64(1604.1789994673295), np.float64(1604.1770821590158), np.float64(1604.175164850702), np.float64(1604.1732475423883), np.float64(1604.1713302340743), np.float64(1604.1694129257605), np.float64(1604.1674956174468), np.float64(1604.165578309133), np.float64(1604.1636610008193), np.float64(1604.1617436925055), np.float64(1604.1598263841915), np.float64(1604.1579090758778), np.float64(1604.155991767564), np.float64(1604.1540744592503), np.float64(1604.1521571509365), np.float64(1604.1502398426226), np.float64(1604.1483225343088), np.float64(1604.146405225995), np.float64(1604.1444879176813), np.float64(1604.1425706093676), np.float64(1604.1406533010536), np.float64(1604.1387359927398), np.float64(1604.136818684426), np.float64(1604.1349013761123), np.float64(1604.1329840677986), np.float64(1604.1310667594848), np.float64(1604.1291494511709), np.float64(1604.127232142857), np.float64(1604.1253148345434), np.float64(1604.1233975262296), np.float64(1604.1214802179159), np.float64(1604.1195629096019), np.float64(1604.1176456012881), np.float64(1604.1157282929744), np.float64(1604.1138109846606), np.float64(1604.1118936763469), np.float64(1604.109976368033), np.float64(1604.1080590597192), np.float64(1604.1061417514054), np.float64(1604.1042244430917), np.float64(1604.102307134778), np.float64(1604.1003898264642), np.float64(1604.0984725181502), np.float64(1604.0965552098364), np.float64(1604.0946379015227), np.float64(1604.092720593209), np.float64(1604.0908032848952), np.float64(1604.0888859765812), np.float64(1604.0869686682674), np.float64(1604.0850513599537), np.float64(1604.08313405164), np.float64(1604.0812167433262), np.float64(1604.0792994350122), np.float64(1604.0773821266985), np.float64(1604.0754648183847), np.float64(1604.073547510071), np.float64(1604.0716302017572), np.float64(1604.0697128934435), np.float64(1604.0677955851295), np.float64(1604.0658782768157), np.float64(1604.063960968502), np.float64(1604.0620436601882), np.float64(1604.0601263518745), np.float64(1604.0582090435605), np.float64(1604.0562917352468), np.float64(1604.054374426933), np.float64(1604.0524571186193), np.float64(1604.0505398103055), np.float64(1604.0486225019915), np.float64(1604.0467051936778), np.float64(1604.044787885364), np.float64(1604.0428705770503), np.float64(1604.0409532687365), np.float64(1604.0390359604228), np.float64(1604.0371186521088), np.float64(1604.035201343795), np.float64(1604.0332840354813), np.float64(1604.0313667271676), np.float64(1604.0294494188538), np.float64(1604.0275321105398), np.float64(1604.025614802226), np.float64(1604.0236974939123), np.float64(1604.0217801855986), np.float64(1604.0198628772848), np.float64(1604.017945568971), np.float64(1604.016028260657), np.float64(1604.0141109523433), np.float64(1604.0121936440296), np.float64(1604.0102763357158), np.float64(1604.008359027402), np.float64(1604.0064417190881), np.float64(1604.0045244107744), np.float64(1604.0026071024606), np.float64(1604.0006897941469), np.float64(1603.9987724858331), np.float64(1603.9968551775191), np.float64(1603.9949378692054), np.float64(1603.9930205608916), np.float64(1603.991103252578), np.float64(1603.9891859442641), np.float64(1603.9872686359504), np.float64(1603.9853513276364), np.float64(1603.9834340193227), np.float64(1603.981516711009), np.float64(1603.9795994026952), np.float64(1603.9776820943814), np.float64(1603.9757647860674), np.float64(1603.9738474777537), np.float64(1603.97193016944), np.float64(1603.9700128611262), np.float64(1603.9680955528124), np.float64(1603.9661782444985), np.float64(1603.9642609361847), np.float64(1603.962343627871), np.float64(1603.9604263195572), np.float64(1603.9585090112435), np.float64(1603.9565917029297), np.float64(1603.9546743946157), np.float64(1603.952757086302), np.float64(1603.9508397779882), np.float64(1603.9489224696745), np.float64(1603.9470051613607), np.float64(1603.9450878530467), np.float64(1603.943170544733), np.float64(1603.9412532364192), np.float64(1603.9393359281055), np.float64(1603.9374186197917), np.float64(1603.9355013114778), np.float64(1603.933584003164), np.float64(1603.9316666948503), np.float64(1603.9297493865365), np.float64(1603.9278320782228), np.float64(1603.925914769909), np.float64(1603.923997461595), np.float64(1603.9220801532813), np.float64(1603.9201628449675), np.float64(1603.9182455366538), np.float64(1603.91632822834), np.float64(1603.914410920026), np.float64(1603.9124936117123), np.float64(1603.9105763033986), np.float64(1603.9086589950848), np.float64(1603.906741686771), np.float64(1603.904824378457), np.float64(1603.9029070701433), np.float64(1603.9009897618296), np.float64(1603.8990724535158), np.float64(1603.897155145202), np.float64(1603.8952378368883), np.float64(1603.8933205285743), np.float64(1603.8914032202606), np.float64(1603.8894859119468), np.float64(1603.887568603633), np.float64(1603.8856512953193), np.float64(1603.8837339870054), np.float64(1603.8818166786916), np.float64(1603.8798993703779), np.float64(1603.8779820620641), np.float64(1603.8760647537504), np.float64(1603.8741474454366), np.float64(1603.8722301371226), np.float64(1603.870312828809), np.float64(1603.8683955204951), np.float64(1603.8664782121814), np.float64(1603.8645609038676), np.float64(1603.8626435955537), np.float64(1603.86072628724), np.float64(1603.8588089789262), np.float64(1603.8568916706124), np.float64(1603.8549743622987), np.float64(1603.8530570539847), np.float64(1603.851139745671), np.float64(1603.8492224373572), np.float64(1603.8473051290434), np.float64(1603.8453878207297), np.float64(1603.843470512416), np.float64(1603.841553204102), np.float64(1603.8396358957882), np.float64(1603.8377185874745), np.float64(1603.8358012791607), np.float64(1603.833883970847), np.float64(1603.831966662533), np.float64(1603.8300493542192), np.float64(1603.8281320459055), np.float64(1603.8262147375917), np.float64(1603.824297429278), np.float64(1603.822380120964), np.float64(1603.8204628126502), np.float64(1603.8185455043365), np.float64(1603.8166281960227), np.float64(1603.814710887709), np.float64(1603.8127935793952), np.float64(1603.8108762710813), np.float64(1603.8089589627675), np.float64(1603.8070416544538), np.float64(1603.80512434614), np.float64(1603.8032070378263), np.float64(1603.8012897295123), np.float64(1603.7993724211985), np.float64(1603.7974551128848), np.float64(1603.795537804571), np.float64(1603.7936204962573), np.float64(1603.7917031879433), np.float64(1603.7897858796296), np.float64(1603.7878685713158), np.float64(1603.785951263002), np.float64(1603.7840339546883), np.float64(1603.7821166463746), np.float64(1603.7801993380606), np.float64(1603.7782820297468), np.float64(1603.776364721433), np.float64(1603.7744474131193), np.float64(1603.7725301048056), np.float64(1603.7706127964916), np.float64(1603.7686954881779), np.float64(1603.766778179864), np.float64(1603.7648608715504), np.float64(1603.7629435632366), np.float64(1603.7610262549226), np.float64(1603.7591089466089), np.float64(1603.7571916382951), np.float64(1603.7552743299814), np.float64(1603.7533570216676), np.float64(1603.7514397133539), np.float64(1603.74952240504), np.float64(1603.7476050967261), np.float64(1603.7456877884124), np.float64(1603.7437704800986), np.float64(1603.741853171785), np.float64(1603.739935863471), np.float64(1603.7380185551572), np.float64(1603.7361012468434), np.float64(1603.7341839385297), np.float64(1603.732266630216), np.float64(1603.7303493219022), np.float64(1603.7284320135882), np.float64(1603.7265147052744), np.float64(1603.7245973969607), np.float64(1603.722680088647), np.float64(1603.7207627803332), np.float64(1603.7188454720192), np.float64(1603.7169281637055), np.float64(1603.7150108553917), np.float64(1603.713093547078), np.float64(1603.7111762387642), np.float64(1603.7092589304502), np.float64(1603.7073416221365), np.float64(1603.7054243138227), np.float64(1603.703507005509), np.float64(1603.7015896971952), np.float64(1603.6996723888815), np.float64(1603.6977550805675), np.float64(1603.6958377722538), np.float64(1603.69392046394), np.float64(1603.6920031556263), np.float64(1603.6900858473125), np.float64(1603.6881685389985), np.float64(1603.6862512306848), np.float64(1603.684333922371), np.float64(1603.6824166140573), np.float64(1603.6804993057435), np.float64(1603.6785819974295), np.float64(1603.6766646891158), np.float64(1603.674747380802), np.float64(1603.6728300724883), np.float64(1603.6709127641745), np.float64(1603.6689954558608), np.float64(1603.6670781475468), np.float64(1603.665160839233), np.float64(1603.6632435309193), np.float64(1603.6613262226056), np.float64(1603.6594089142918), np.float64(1603.6574916059778), np.float64(1603.655574297664), np.float64(1603.6536569893503), np.float64(1603.6517396810366), np.float64(1603.6498223727228), np.float64(1603.6479050644089), np.float64(1603.645987756095), np.float64(1603.6440704477814), np.float64(1603.6421531394676), np.float64(1603.6402358311539), np.float64(1603.63831852284), np.float64(1603.6364012145261), np.float64(1603.6344839062124), np.float64(1603.6325665978986), np.float64(1603.6306492895849), np.float64(1603.6287319812711), np.float64(1603.6268146729572), np.float64(1603.6248973646434), np.float64(1603.6229800563297), np.float64(1603.621062748016), np.float64(1603.6191454397022), np.float64(1603.6172281313884), np.float64(1603.6153108230744), np.float64(1603.6133935147607), np.float64(1603.611476206447), np.float64(1603.6095588981332), np.float64(1603.6076415898194), np.float64(1603.6057242815054), np.float64(1603.6038069731917), np.float64(1603.601889664878), np.float64(1603.5999723565642), np.float64(1603.5980550482504), np.float64(1603.5961377399365), np.float64(1603.5942204316227), np.float64(1603.592303123309), np.float64(1603.5903858149952), np.float64(1603.5884685066815), np.float64(1603.5865511983677), np.float64(1603.5846338900537), np.float64(1603.58271658174), np.float64(1603.5807992734262), np.float64(1603.5788819651125), np.float64(1603.5769646567987), np.float64(1603.5750473484848), np.float64(1603.573130040171), np.float64(1603.5712127318573), np.float64(1603.5692954235435), np.float64(1603.5673781152298), np.float64(1603.5654608069158), np.float64(1603.563543498602), np.float64(1603.5616261902883), np.float64(1603.5597088819745), np.float64(1603.5577915736608), np.float64(1603.555874265347), np.float64(1603.553956957033), np.float64(1603.5520396487193), np.float64(1603.5501223404056), np.float64(1603.5482050320918), np.float64(1603.546287723778), np.float64(1603.544370415464), np.float64(1603.5424531071503), np.float64(1603.5405357988366), np.float64(1603.5386184905228), np.float64(1603.536701182209), np.float64(1603.534783873895), np.float64(1603.5328665655813), np.float64(1603.5309492572676), np.float64(1603.5290319489538), np.float64(1603.52711464064), np.float64(1603.5251973323263), np.float64(1603.5232800240124), np.float64(1603.5213627156986), np.float64(1603.5194454073849), np.float64(1603.5175280990711), np.float64(1603.5156107907574), np.float64(1603.5136934824434), np.float64(1603.5117761741296), np.float64(1603.5098588658159), np.float64(1603.5079415575021), np.float64(1603.5060242491884), np.float64(1603.5041069408744), np.float64(1603.5021896325607), np.float64(1603.500272324247), np.float64(1603.4983550159332), np.float64(1603.4964377076194), np.float64(1603.4945203993057), np.float64(1603.4926030909917), np.float64(1603.490685782678), np.float64(1603.4887684743642), np.float64(1603.4868511660504), np.float64(1603.4849338577367), np.float64(1603.4830165494227), np.float64(1603.481099241109), np.float64(1603.4791819327952), np.float64(1603.4772646244814), np.float64(1603.4753473161677), np.float64(1603.473430007854), np.float64(1603.47151269954), np.float64(1603.4695953912262), np.float64(1603.4676780829125), np.float64(1603.4657607745987), np.float64(1603.463843466285), np.float64(1603.461926157971), np.float64(1603.4600088496572), np.float64(1603.4580915413435), np.float64(1603.4561742330297), np.float64(1603.454256924716), np.float64(1603.452339616402), np.float64(1603.4504223080883), np.float64(1603.4485049997745), np.float64(1603.4465876914608), np.float64(1603.444670383147), np.float64(1603.4427530748333), np.float64(1603.4408357665193), np.float64(1603.4389184582055), np.float64(1603.4370011498918), np.float64(1603.435083841578), np.float64(1603.4331665332643), np.float64(1603.4312492249503), np.float64(1603.4293319166366), np.float64(1603.4274146083228), np.float64(1603.425497300009), np.float64(1603.4235799916953), np.float64(1603.4216626833813), np.float64(1603.4197453750676), np.float64(1603.4178280667538), np.float64(1603.41591075844), np.float64(1603.4139934501263), np.float64(1603.4120761418126), np.float64(1603.4101588334986), np.float64(1603.4082415251848), np.float64(1603.406324216871), np.float64(1603.4044069085573), np.float64(1603.4024896002436), np.float64(1603.4005722919296), np.float64(1603.3986549836159), np.float64(1603.3967376753021), np.float64(1603.3948203669884), np.float64(1603.3929030586746), np.float64(1603.3909857503606), np.float64(1603.389068442047), np.float64(1603.3871511337331), np.float64(1603.3852338254194), np.float64(1603.3833165171056), np.float64(1603.381399208792), np.float64(1603.379481900478), np.float64(1603.3775645921642), np.float64(1603.3756472838504), np.float64(1603.3737299755367), np.float64(1603.371812667223), np.float64(1603.369895358909), np.float64(1603.3679780505952), np.float64(1603.3660607422814), np.float64(1603.3641434339677), np.float64(1603.362226125654), np.float64(1603.36030881734), np.float64(1603.3583915090262), np.float64(1603.3564742007125), np.float64(1603.3545568923987), np.float64(1603.352639584085), np.float64(1603.3507222757712), np.float64(1603.3488049674572), np.float64(1603.3468876591435), np.float64(1603.3449703508297), np.float64(1603.343053042516), np.float64(1603.3411357342022), np.float64(1603.3392184258882), np.float64(1603.3373011175745), np.float64(1603.3353838092607), np.float64(1603.333466500947), np.float64(1603.3315491926332), np.float64(1603.3296318843195), np.float64(1603.3277145760055), np.float64(1603.3257972676918), np.float64(1603.323879959378), np.float64(1603.3219626510643), np.float64(1603.3200453427505), np.float64(1603.3181280344365), np.float64(1603.3162107261228), np.float64(1603.314293417809), np.float64(1603.3123761094953), np.float64(1603.3104588011815), np.float64(1603.3085414928676), np.float64(1603.3066241845538), np.float64(1603.30470687624), np.float64(1603.3027895679263), np.float64(1603.3008722596126), np.float64(1603.2989549512988), np.float64(1603.2970376429848), np.float64(1603.295120334671), np.float64(1603.2932030263573), np.float64(1603.2912857180436), np.float64(1603.2893684097298), np.float64(1603.2874511014159), np.float64(1603.285533793102), np.float64(1603.2836164847884), np.float64(1603.2816991764746), np.float64(1603.2797818681609), np.float64(1603.2778645598469), np.float64(1603.2759472515331), np.float64(1603.2740299432194), np.float64(1603.2721126349056), np.float64(1603.2701953265919), np.float64(1603.2682780182781), np.float64(1603.2663607099641), np.float64(1603.2644434016504), np.float64(1603.2625260933366), np.float64(1603.260608785023), np.float64(1603.2586914767091), np.float64(1603.2567741683952), np.float64(1603.2548568600814), np.float64(1603.2529395517677), np.float64(1603.251022243454), np.float64(1603.2491049351402), np.float64(1603.2471876268262), np.float64(1603.2452703185124), np.float64(1603.2433530101987), np.float64(1603.241435701885), np.float64(1603.2395183935712), np.float64(1603.2376010852574), np.float64(1603.2356837769435), np.float64(1603.2337664686297), np.float64(1603.231849160316), np.float64(1603.2299318520022), np.float64(1603.2280145436885), np.float64(1603.2260972353745), np.float64(1603.2241799270607), np.float64(1603.222262618747), np.float64(1603.2203453104332), np.float64(1603.2184280021195), np.float64(1603.2165106938055), np.float64(1603.2145933854918), np.float64(1603.212676077178), np.float64(1603.2107587688643), np.float64(1603.2088414605505), np.float64(1603.2069241522368), np.float64(1603.2050068439228), np.float64(1603.203089535609), np.float64(1603.2011722272953), np.float64(1603.1992549189815), np.float64(1603.1973376106678), np.float64(1603.1954203023538), np.float64(1603.19350299404), np.float64(1603.1915856857263), np.float64(1603.1896683774125), np.float64(1603.1877510690988), np.float64(1603.185833760785), np.float64(1603.183916452471), np.float64(1603.1819991441573), np.float64(1603.1800818358436), np.float64(1603.1781645275298), np.float64(1603.176247219216), np.float64(1603.174329910902), np.float64(1603.1724126025883), np.float64(1603.1704952942746), np.float64(1603.1685779859608), np.float64(1603.166660677647), np.float64(1603.164743369333), np.float64(1603.1628260610194), np.float64(1603.1609087527056), np.float64(1603.1589914443919), np.float64(1603.157074136078), np.float64(1603.1551568277644), np.float64(1603.1532395194504), np.float64(1603.1513222111366), np.float64(1603.1494049028229), np.float64(1603.1474875945091), np.float64(1603.1455702861954), np.float64(1603.1436529778814), np.float64(1603.1417356695677), np.float64(1603.139818361254), np.float64(1603.1379010529402), np.float64(1603.1359837446264), np.float64(1603.1340664363124), np.float64(1603.1321491279987), np.float64(1603.130231819685), np.float64(1603.1283145113712), np.float64(1603.1263972030574), np.float64(1603.1244798947437), np.float64(1603.1225625864297), np.float64(1603.120645278116), np.float64(1603.1187279698022), np.float64(1603.1168106614884), np.float64(1603.1148933531747), np.float64(1603.1129760448607), np.float64(1603.111058736547), np.float64(1603.1091414282332), np.float64(1603.1072241199195), np.float64(1603.1053068116057), np.float64(1603.1033895032917), np.float64(1603.101472194978), np.float64(1603.0995548866642), np.float64(1603.0976375783505), np.float64(1603.0957202700367), np.float64(1603.093802961723), np.float64(1603.091885653409), np.float64(1603.0899683450953), np.float64(1603.0880510367815), np.float64(1603.0861337284678), np.float64(1603.084216420154), np.float64(1603.08229911184), np.float64(1603.0803818035263), np.float64(1603.0784644952125), np.float64(1603.0765471868988), np.float64(1603.074629878585), np.float64(1603.072712570271), np.float64(1603.0707952619573), np.float64(1603.0688779536436), np.float64(1603.0669606453298), np.float64(1603.065043337016), np.float64(1603.0631260287023), np.float64(1603.0612087203883), np.float64(1603.0592914120746), np.float64(1603.0573741037608), np.float64(1603.055456795447), np.float64(1603.0535394871333), np.float64(1603.0516221788193), np.float64(1603.0497048705056), np.float64(1603.0477875621918), np.float64(1603.045870253878), np.float64(1603.0439529455643), np.float64(1603.0420356372506), np.float64(1603.0401183289366), np.float64(1603.0382010206229), np.float64(1603.0362837123091), np.float64(1603.0343664039954), np.float64(1603.0324490956816), np.float64(1603.0305317873676), np.float64(1603.0286144790539), np.float64(1603.0266971707401), np.float64(1603.0247798624264), np.float64(1603.0228625541126), np.float64(1603.0209452457987), np.float64(1603.019027937485), np.float64(1603.0171106291712), np.float64(1603.0151933208574), np.float64(1603.0132760125437), np.float64(1603.01135870423), np.float64(1603.009441395916), np.float64(1603.0075240876022), np.float64(1603.0056067792884), np.float64(1603.0036894709747), np.float64(1603.001772162661), np.float64(1602.999854854347), np.float64(1602.9979375460332), np.float64(1602.9960202377194), np.float64(1602.9941029294057), np.float64(1602.992185621092), np.float64(1602.990268312778), np.float64(1602.9883510044642), np.float64(1602.9864336961505), np.float64(1602.9845163878367), np.float64(1602.982599079523), np.float64(1602.9806817712092), np.float64(1602.9787644628952), np.float64(1602.9768471545815), np.float64(1602.9749298462677), np.float64(1602.973012537954), np.float64(1602.9710952296402), np.float64(1602.9691779213263), np.float64(1602.9672606130125), np.float64(1602.9653433046988), np.float64(1602.963425996385), np.float64(1602.9615086880713), np.float64(1602.9595913797573), np.float64(1602.9576740714435), np.float64(1602.9557567631298), np.float64(1602.953839454816), np.float64(1602.9519221465023), np.float64(1602.9500048381885), np.float64(1602.9480875298746), np.float64(1602.9461702215608), np.float64(1602.944252913247), np.float64(1602.9423356049333), np.float64(1602.9404182966196), np.float64(1602.9385009883056), np.float64(1602.9365836799918), np.float64(1602.934666371678), np.float64(1602.9327490633643), np.float64(1602.9308317550506), np.float64(1602.9289144467366), np.float64(1602.9269971384228), np.float64(1602.925079830109), np.float64(1602.9231625217953), np.float64(1602.9212452134816), np.float64(1602.9193279051678), np.float64(1602.9174105968539), np.float64(1602.9154932885401), np.float64(1602.9135759802264), np.float64(1602.9116586719126), np.float64(1602.9097413635989), np.float64(1602.907824055285), np.float64(1602.9059067469711), np.float64(1602.9039894386574), np.float64(1602.9020721303436), np.float64(1602.90015482203), np.float64(1602.8982375137161), np.float64(1602.8963202054022), np.float64(1602.8944028970884), np.float64(1602.8924855887747), np.float64(1602.890568280461), np.float64(1602.8886509721472), np.float64(1602.8867336638332), np.float64(1602.8848163555194), np.float64(1602.8828990472057), np.float64(1602.880981738892), np.float64(1602.8790644305782), np.float64(1602.8771471222642), np.float64(1602.8752298139505), np.float64(1602.8733125056367), np.float64(1602.871395197323), np.float64(1602.8694778890092), np.float64(1602.8675605806955), np.float64(1602.8656432723815), np.float64(1602.8637259640677), np.float64(1602.861808655754), np.float64(1602.8598913474402), np.float64(1602.8579740391265), np.float64(1602.8560567308125), np.float64(1602.8541394224987), np.float64(1602.852222114185), np.float64(1602.8503048058712), np.float64(1602.8483874975575), np.float64(1602.8464701892435), np.float64(1602.8445528809298), np.float64(1602.842635572616), np.float64(1602.8407182643023), np.float64(1602.8388009559885), np.float64(1602.8368836476748), np.float64(1602.8349663393608), np.float64(1602.833049031047), np.float64(1602.8311317227333), np.float64(1602.8292144144195), np.float64(1602.8272971061058), np.float64(1602.8253797977918), np.float64(1602.823462489478), np.float64(1602.8215451811643), np.float64(1602.8196278728506), np.float64(1602.8177105645368), np.float64(1602.8157932562228), np.float64(1602.813875947909), np.float64(1602.8119586395953), np.float64(1602.8100413312816), np.float64(1602.8081240229678), np.float64(1602.806206714654), np.float64(1602.80428940634), np.float64(1602.8023720980264), np.float64(1602.8004547897126), np.float64(1602.7985374813989), np.float64(1602.796620173085), np.float64(1602.7947028647711), np.float64(1602.7927855564574), np.float64(1602.7908682481436), np.float64(1602.7889509398299), np.float64(1602.7870336315161), np.float64(1602.7851163232024), np.float64(1602.7831990148884), np.float64(1602.7812817065746), np.float64(1602.779364398261), np.float64(1602.7774470899471), np.float64(1602.7755297816334), np.float64(1602.7736124733194), np.float64(1602.7716951650057), np.float64(1602.769777856692), np.float64(1602.7678605483782), np.float64(1602.7659432400644), np.float64(1602.7640259317504), np.float64(1602.7621086234367), np.float64(1602.760191315123), np.float64(1602.7582740068092), np.float64(1602.7563566984954), np.float64(1602.7544393901817), np.float64(1602.7525220818677), np.float64(1602.750604773554), np.float64(1602.7486874652402), np.float64(1602.7467701569265), np.float64(1602.7448528486127), np.float64(1602.7429355402987), np.float64(1602.741018231985), np.float64(1602.7391009236712), np.float64(1602.7371836153575), np.float64(1602.7352663070437), np.float64(1602.7333489987298), np.float64(1602.731431690416), np.float64(1602.7295143821023), np.float64(1602.7275970737885), np.float64(1602.7256797654748), np.float64(1602.723762457161), np.float64(1602.721845148847), np.float64(1602.7199278405333), np.float64(1602.7180105322195), np.float64(1602.7160932239058), np.float64(1602.714175915592), np.float64(1602.712258607278), np.float64(1602.7103412989643), np.float64(1602.7084239906505), np.float64(1602.7065066823368), np.float64(1602.704589374023), np.float64(1602.702672065709), np.float64(1602.7007547573953), np.float64(1602.6988374490816), np.float64(1602.6969201407678), np.float64(1602.695002832454), np.float64(1602.6930855241403), np.float64(1602.6911682158263), np.float64(1602.6892509075126), np.float64(1602.6873335991988), np.float64(1602.685416290885), np.float64(1602.6834989825713), np.float64(1602.6815816742574), np.float64(1602.6796643659436), np.float64(1602.6777470576299), np.float64(1602.675829749316), np.float64(1602.6739124410024), np.float64(1602.6719951326884), np.float64(1602.6700778243746), np.float64(1602.6681605160609), np.float64(1602.6662432077471), np.float64(1602.6643258994334), np.float64(1602.6624085911196), np.float64(1602.6604912828057), np.float64(1602.658573974492), np.float64(1602.6566566661782), np.float64(1602.6547393578644), np.float64(1602.6528220495507), np.float64(1602.6509047412367), np.float64(1602.648987432923), np.float64(1602.6470701246092), np.float64(1602.6451528162954), np.float64(1602.6432355079817), np.float64(1602.641318199668), np.float64(1602.639400891354), np.float64(1602.6374835830402), np.float64(1602.6355662747264), np.float64(1602.6336489664127), np.float64(1602.631731658099), np.float64(1602.629814349785), np.float64(1602.6278970414712), np.float64(1602.6259797331575), np.float64(1602.6240624248437), np.float64(1602.62214511653), np.float64(1602.620227808216), np.float64(1602.6183104999022), np.float64(1602.6163931915885), np.float64(1602.6144758832747), np.float64(1602.612558574961), np.float64(1602.6106412666472), np.float64(1602.6087239583333), np.float64(1602.6068066500195), np.float64(1602.6048893417058), np.float64(1602.602972033392), np.float64(1602.6010547250783), np.float64(1602.5991374167643), np.float64(1602.5972201084505), np.float64(1602.5953028001368), np.float64(1602.593385491823), np.float64(1602.5914681835093), np.float64(1602.5895508751953), np.float64(1602.5876335668815), np.float64(1602.5857162585678), np.float64(1602.583798950254), np.float64(1602.5818816419403), np.float64(1602.5799643336265), np.float64(1602.5780470253126), np.float64(1602.5761297169988), np.float64(1602.574212408685), np.float64(1602.5722951003713), np.float64(1602.5703777920576), np.float64(1602.5684604837436), np.float64(1602.5665431754298), np.float64(1602.564625867116), np.float64(1602.5627085588023), np.float64(1602.5607912504886), np.float64(1602.5588739421746), np.float64(1602.5569566338609), np.float64(1602.555039325547), np.float64(1602.5531220172334), np.float64(1602.5512047089196), np.float64(1602.5492874006059), np.float64(1602.5473700922919), np.float64(1602.5454527839781), np.float64(1602.5435354756644), np.float64(1602.5416181673506), np.float64(1602.5397008590369), np.float64(1602.537783550723), np.float64(1602.5358662424092), np.float64(1602.5339489340954), np.float64(1602.5320316257817), np.float64(1602.530114317468), np.float64(1602.528197009154), np.float64(1602.5262797008402), np.float64(1602.5243623925264), np.float64(1602.5224450842127), np.float64(1602.520527775899), np.float64(1602.5186104675852), np.float64(1602.5166931592712), np.float64(1602.5147758509574), np.float64(1602.5128585426437), np.float64(1602.51094123433), np.float64(1602.5090239260162), np.float64(1602.5071066177022), np.float64(1602.5051893093885), np.float64(1602.5032720010747), np.float64(1602.501354692761), np.float64(1602.4994373844472), np.float64(1602.4975200761335), np.float64(1602.4956027678195), np.float64(1602.4936854595057), np.float64(1602.491768151192), np.float64(1602.4898508428782), np.float64(1602.4879335345645), np.float64(1602.4860162262505), np.float64(1602.4840989179368), np.float64(1602.482181609623), np.float64(1602.4802643013093), np.float64(1602.4783469929955), np.float64(1602.4764296846815), np.float64(1602.4745123763678), np.float64(1602.472595068054), np.float64(1602.4706777597403), np.float64(1602.4687604514265), np.float64(1602.4668431431128), np.float64(1602.4649258347988), np.float64(1602.463008526485), np.float64(1602.4610912181713), np.float64(1602.4591739098576), np.float64(1602.4572566015438), np.float64(1602.4553392932298), np.float64(1602.453421984916), np.float64(1602.4515046766023), np.float64(1602.4495873682886), np.float64(1602.4476700599748), np.float64(1602.4457527516608), np.float64(1602.443835443347), np.float64(1602.4419181350333), np.float64(1602.4400008267196), np.float64(1602.4380835184058), np.float64(1602.436166210092), np.float64(1602.4342489017781), np.float64(1602.4323315934644), np.float64(1602.4304142851506), np.float64(1602.4284969768369), np.float64(1602.4265796685231), np.float64(1602.4246623602091), np.float64(1602.4227450518954), np.float64(1602.4208277435816), np.float64(1602.418910435268), np.float64(1602.4169931269541), np.float64(1602.4150758186402), np.float64(1602.4131585103264), np.float64(1602.4112412020127), np.float64(1602.409323893699), np.float64(1602.4074065853852), np.float64(1602.4054892770714), np.float64(1602.4035719687574), np.float64(1602.4016546604437), np.float64(1602.39973735213), np.float64(1602.3978200438162), np.float64(1602.3959027355024), np.float64(1602.3939854271885), np.float64(1602.3920681188747), np.float64(1602.390150810561), np.float64(1602.3882335022472), np.float64(1602.3863161939335), np.float64(1602.3843988856195), np.float64(1602.3824815773057), np.float64(1602.380564268992), np.float64(1602.3786469606782), np.float64(1602.3767296523645), np.float64(1602.3748123440507), np.float64(1602.3728950357367), np.float64(1602.370977727423), np.float64(1602.3690604191092), np.float64(1602.3671431107955), np.float64(1602.3652258024817), np.float64(1602.3633084941678), np.float64(1602.361391185854), np.float64(1602.3594738775403), np.float64(1602.3575565692265), np.float64(1602.3556392609128), np.float64(1602.353721952599), np.float64(1602.351804644285), np.float64(1602.3498873359713), np.float64(1602.3479700276575), np.float64(1602.3460527193438), np.float64(1602.34413541103), np.float64(1602.342218102716), np.float64(1602.3403007944023), np.float64(1602.3383834860886), np.float64(1602.3364661777748), np.float64(1602.334548869461), np.float64(1602.332631561147), np.float64(1602.3307142528333), np.float64(1602.3287969445196), np.float64(1602.3268796362058), np.float64(1602.324962327892), np.float64(1602.3230450195783), np.float64(1602.3211277112644), np.float64(1602.3192104029506), np.float64(1602.3172930946369), np.float64(1602.315375786323), np.float64(1602.3134584780094), np.float64(1602.3115411696954), np.float64(1602.3096238613816), np.float64(1602.3077065530679), np.float64(1602.3057892447541), np.float64(1602.3038719364404), np.float64(1602.3019546281264), np.float64(1602.3000373198126), np.float64(1602.298120011499), np.float64(1602.2962027031851), np.float64(1602.2942853948714), np.float64(1602.2923680865576), np.float64(1602.2904507782437), np.float64(1602.28853346993), np.float64(1602.2866161616162), np.float64(1602.2846988533024), np.float64(1602.2827815449887), np.float64(1602.2808642366747), np.float64(1602.278946928361), np.float64(1602.2770296200472), np.float64(1602.2751123117334), np.float64(1602.2731950034197), np.float64(1602.2712776951057), np.float64(1602.269360386792), np.float64(1602.2674430784782), np.float64(1602.2655257701645), np.float64(1602.2636084618507), np.float64(1602.261691153537), np.float64(1602.259773845223), np.float64(1602.2578565369092), np.float64(1602.2559392285955), np.float64(1602.2540219202817), np.float64(1602.252104611968), np.float64(1602.250187303654), np.float64(1602.2482699953403), np.float64(1602.2463526870265), np.float64(1602.2444353787128), np.float64(1602.242518070399), np.float64(1602.2406007620853), np.float64(1602.2386834537713), np.float64(1602.2367661454575), np.float64(1602.2348488371438), np.float64(1602.23293152883), np.float64(1602.2310142205163), np.float64(1602.2290969122023), np.float64(1602.2271796038885), np.float64(1602.2252622955748), np.float64(1602.223344987261), np.float64(1602.2214276789473), np.float64(1602.2195103706333), np.float64(1602.2175930623196), np.float64(1602.2156757540058), np.float64(1602.213758445692), np.float64(1602.2118411373783), np.float64(1602.2099238290646), np.float64(1602.2080065207506), np.float64(1602.2060892124368), np.float64(1602.204171904123), np.float64(1602.2022545958093), np.float64(1602.2003372874956), np.float64(1602.1984199791816), np.float64(1602.1965026708679), np.float64(1602.194585362554), np.float64(1602.1926680542404), np.float64(1602.1907507459266), np.float64(1602.1888334376126), np.float64(1602.1869161292989), np.float64(1602.1849988209851), np.float64(1602.1830815126714), np.float64(1602.1811642043576), np.float64(1602.1792468960439), np.float64(1602.17732958773), np.float64(1602.1754122794162), np.float64(1602.1734949711024), np.float64(1602.1715776627886), np.float64(1602.169660354475), np.float64(1602.167743046161), np.float64(1602.1658257378472), np.float64(1602.1639084295334), np.float64(1602.1619911212197), np.float64(1602.160073812906), np.float64(1602.158156504592), np.float64(1602.1562391962782), np.float64(1602.1543218879644), np.float64(1602.1524045796507), np.float64(1602.150487271337), np.float64(1602.1485699630232), np.float64(1602.1466526547092), np.float64(1602.1447353463955), np.float64(1602.1428180380817), np.float64(1602.140900729768), np.float64(1602.1389834214542), np.float64(1602.1370661131402), np.float64(1602.1351488048265), np.float64(1602.1332314965127), np.float64(1602.131314188199), np.float64(1602.1293968798852), np.float64(1602.1274795715713), np.float64(1602.1255622632575), np.float64(1602.1236449549438), np.float64(1602.12172764663), np.float64(1602.1198103383163), np.float64(1602.1178930300025), np.float64(1602.1159757216885), np.float64(1602.1140584133748), np.float64(1602.112141105061), np.float64(1602.1102237967473), np.float64(1602.1083064884335), np.float64(1602.1063891801195), np.float64(1602.1044718718058), np.float64(1602.102554563492), np.float64(1602.1006372551783), np.float64(1602.0987199468645), np.float64(1602.0968026385508), np.float64(1602.0948853302368), np.float64(1602.092968021923), np.float64(1602.0910507136093), np.float64(1602.0891334052956), np.float64(1602.0872160969818), np.float64(1602.0852987886678), np.float64(1602.083381480354), np.float64(1602.0814641720403), np.float64(1602.0795468637266), np.float64(1602.0776295554128), np.float64(1602.0757122470989), np.float64(1602.073794938785), np.float64(1602.0718776304714), np.float64(1602.0699603221576), np.float64(1602.0680430138439), np.float64(1602.06612570553), np.float64(1602.0642083972161), np.float64(1602.0622910889024), np.float64(1602.0603737805886), np.float64(1602.0584564722749), np.float64(1602.0565391639611), np.float64(1602.0546218556472), np.float64(1602.0527045473334), np.float64(1602.0507872390197), np.float64(1602.048869930706), np.float64(1602.0469526223922), np.float64(1602.0450353140782), np.float64(1602.0431180057644), np.float64(1602.0412006974507), np.float64(1602.039283389137), np.float64(1602.0373660808232), np.float64(1602.0354487725094), np.float64(1602.0335314641954), np.float64(1602.0316141558817), np.float64(1602.029696847568), np.float64(1602.0277795392542), np.float64(1602.0258622309404), np.float64(1602.0239449226265), np.float64(1602.0220276143127), np.float64(1602.020110305999), np.float64(1602.0181929976852), np.float64(1602.0162756893715), np.float64(1602.0143583810575), np.float64(1602.0124410727437), np.float64(1602.01052376443), np.float64(1602.0086064561162), np.float64(1602.0066891478025), np.float64(1602.0047718394887), np.float64(1602.0028545311748), np.float64(1602.000937222861), np.float64(1601.9990199145473), np.float64(1601.9971026062335), np.float64(1601.9951852979198), np.float64(1601.9932679896058), np.float64(1601.991350681292), np.float64(1601.9894333729783), np.float64(1601.9875160646645), np.float64(1601.9855987563508), np.float64(1601.9836814480368), np.float64(1601.981764139723), np.float64(1601.9798468314093), np.float64(1601.9779295230956), np.float64(1601.9760122147818), np.float64(1601.974094906468), np.float64(1601.972177598154), np.float64(1601.9702602898403), np.float64(1601.9683429815266), np.float64(1601.9664256732128), np.float64(1601.964508364899), np.float64(1601.962591056585), np.float64(1601.9606737482713), np.float64(1601.9587564399576), np.float64(1601.9568391316438), np.float64(1601.95492182333), np.float64(1601.9530045150163), np.float64(1601.9510872067024), np.float64(1601.9491698983886), np.float64(1601.9472525900749), np.float64(1601.9453352817611), np.float64(1601.9434179734474), np.float64(1601.9415006651334), np.float64(1601.9395833568196), np.float64(1601.937666048506), np.float64(1601.9357487401921), np.float64(1601.9338314318784), np.float64(1601.9319141235644), np.float64(1601.9299968152507), np.float64(1601.928079506937), np.float64(1601.9261621986232), np.float64(1601.9242448903094), np.float64(1601.9223275819957), np.float64(1601.9204102736817), np.float64(1601.918492965368), np.float64(1601.9165756570542), np.float64(1601.9146583487404), np.float64(1601.9127410404267), np.float64(1601.9108237321127), np.float64(1601.908906423799), np.float64(1601.9069891154852), np.float64(1601.9050718071715), np.float64(1601.9031544988577), np.float64(1601.9012371905437), np.float64(1601.89931988223), np.float64(1601.8974025739162), np.float64(1601.8954852656025), np.float64(1601.8935679572887), np.float64(1601.891650648975), np.float64(1601.889733340661), np.float64(1601.8878160323472), np.float64(1601.8858987240335), np.float64(1601.8839814157197), np.float64(1601.882064107406), np.float64(1601.880146799092), np.float64(1601.8782294907783), np.float64(1601.8763121824645), np.float64(1601.8743948741508), np.float64(1601.872477565837), np.float64(1601.870560257523), np.float64(1601.8686429492093), np.float64(1601.8667256408955), np.float64(1601.8648083325818), np.float64(1601.862891024268), np.float64(1601.8609737159543), np.float64(1601.8590564076403), np.float64(1601.8571390993266), np.float64(1601.8552217910128), np.float64(1601.853304482699), np.float64(1601.8513871743853), np.float64(1601.8494698660713), np.float64(1601.8475525577576), np.float64(1601.8456352494438), np.float64(1601.84371794113), np.float64(1601.8418006328163), np.float64(1601.8398833245024), np.float64(1601.8379660161886), np.float64(1601.8360487078749), np.float64(1601.834131399561), np.float64(1601.8322140912474), np.float64(1601.8302967829336), np.float64(1601.8283794746196), np.float64(1601.8264621663059), np.float64(1601.8245448579921), np.float64(1601.8226275496784), np.float64(1601.8207102413646), np.float64(1601.8187929330506), np.float64(1601.816875624737), np.float64(1601.8149583164231), np.float64(1601.8130410081094), np.float64(1601.8111236997956), np.float64(1601.809206391482), np.float64(1601.807289083168), np.float64(1601.8053717748542), np.float64(1601.8034544665404), np.float64(1601.8015371582267), np.float64(1601.799619849913), np.float64(1601.797702541599), np.float64(1601.7957852332852), np.float64(1601.7938679249714), np.float64(1601.7919506166577), np.float64(1601.790033308344), np.float64(1601.78811600003), np.float64(1601.7861986917162), np.float64(1601.7842813834025), np.float64(1601.7823640750887), np.float64(1601.780446766775), np.float64(1601.7785294584612), np.float64(1601.7766121501472), np.float64(1601.7746948418335), np.float64(1601.7727775335197), np.float64(1601.770860225206), np.float64(1601.7689429168922), np.float64(1601.7670256085783), np.float64(1601.7651083002645), np.float64(1601.7631909919508), np.float64(1601.761273683637), np.float64(1601.7593563753233), np.float64(1601.7574390670093), np.float64(1601.7555217586955), np.float64(1601.7536044503818), np.float64(1601.751687142068), np.float64(1601.7497698337543), np.float64(1601.7478525254405), np.float64(1601.7459352171265), np.float64(1601.7440179088128), np.float64(1601.742100600499), np.float64(1601.7401832921853), np.float64(1601.7382659838715), np.float64(1601.7363486755576), np.float64(1601.7344313672438), np.float64(1601.73251405893), np.float64(1601.7305967506163), np.float64(1601.7286794423026), np.float64(1601.7267621339886), np.float64(1601.7248448256748), np.float64(1601.722927517361), np.float64(1601.7210102090473), np.float64(1601.7190929007336), np.float64(1601.7171755924198), np.float64(1601.7152582841059), np.float64(1601.713340975792), np.float64(1601.7114236674784), np.float64(1601.7095063591646), np.float64(1601.7075890508509), np.float64(1601.7056717425369), np.float64(1601.7037544342231), np.float64(1601.7018371259094), np.float64(1601.6999198175956), np.float64(1601.6980025092819), np.float64(1601.696085200968), np.float64(1601.6941678926541), np.float64(1601.6922505843404), np.float64(1601.6903332760266), np.float64(1601.688415967713), np.float64(1601.6864986593991), np.float64(1601.6845813510852), np.float64(1601.6826640427714), np.float64(1601.6807467344577), np.float64(1601.678829426144), np.float64(1601.6769121178302), np.float64(1601.6749948095162), np.float64(1601.6730775012024), np.float64(1601.6711601928887), np.float64(1601.669242884575), np.float64(1601.6673255762612), np.float64(1601.6654082679474), np.float64(1601.6634909596335), np.float64(1601.6615736513197), np.float64(1601.659656343006), np.float64(1601.6577390346922), np.float64(1601.6558217263785), np.float64(1601.6539044180645), np.float64(1601.6519871097507), np.float64(1601.650069801437), np.float64(1601.6481524931232), np.float64(1601.6462351848095), np.float64(1601.6443178764955), np.float64(1601.6424005681818), np.float64(1601.640483259868), np.float64(1601.6385659515543), np.float64(1601.6366486432405), np.float64(1601.6347313349268), np.float64(1601.6328140266128), np.float64(1601.630896718299), np.float64(1601.6289794099853), np.float64(1601.6270621016715), np.float64(1601.6251447933578), np.float64(1601.6232274850438), np.float64(1601.62131017673), np.float64(1601.6193928684163), np.float64(1601.6174755601025), np.float64(1601.6155582517888), np.float64(1601.6136409434748), np.float64(1601.611723635161), np.float64(1601.6098063268473), np.float64(1601.6078890185336), np.float64(1601.6059717102198), np.float64(1601.604054401906), np.float64(1601.602137093592), np.float64(1601.6002197852783), np.float64(1601.5983024769646), np.float64(1601.5963851686508), np.float64(1601.594467860337), np.float64(1601.592550552023), np.float64(1601.5906332437094), np.float64(1601.5887159353956), np.float64(1601.5867986270819), np.float64(1601.584881318768), np.float64(1601.5829640104541), np.float64(1601.5810467021404), np.float64(1601.5791293938266), np.float64(1601.5772120855129), np.float64(1601.5752947771991), np.float64(1601.5733774688854), np.float64(1601.5714601605714), np.float64(1601.5695428522577), np.float64(1601.567625543944), np.float64(1601.5657082356302), np.float64(1601.5637909273164), np.float64(1601.5618736190024), np.float64(1601.5599563106887), np.float64(1601.558039002375), np.float64(1601.5561216940612), np.float64(1601.5542043857474), np.float64(1601.5522870774337), np.float64(1601.5503697691197), np.float64(1601.548452460806), np.float64(1601.5465351524922), np.float64(1601.5446178441784), np.float64(1601.5427005358647), np.float64(1601.5407832275507), np.float64(1601.538865919237), np.float64(1601.5369486109232), np.float64(1601.5350313026095), np.float64(1601.5331139942957), np.float64(1601.5311966859817), np.float64(1601.529279377668), np.float64(1601.5273620693542), np.float64(1601.5254447610405), np.float64(1601.5235274527267), np.float64(1601.521610144413), np.float64(1601.519692836099), np.float64(1601.5177755277853), np.float64(1601.5158582194715), np.float64(1601.5139409111578), np.float64(1601.512023602844), np.float64(1601.51010629453), np.float64(1601.5081889862163), np.float64(1601.5062716779025), np.float64(1601.5043543695888), np.float64(1601.502437061275), np.float64(1601.500519752961), np.float64(1601.4986024446473), np.float64(1601.4966851363336), np.float64(1601.4947678280198), np.float64(1601.492850519706), np.float64(1601.4909332113923), np.float64(1601.4890159030783), np.float64(1601.4870985947646), np.float64(1601.4851812864508), np.float64(1601.483263978137), np.float64(1601.4813466698233), np.float64(1601.4794293615093), np.float64(1601.4775120531956), np.float64(1601.4755947448818), np.float64(1601.473677436568), np.float64(1601.4717601282543), np.float64(1601.4698428199404), np.float64(1601.4679255116266), np.float64(1601.4660082033129), np.float64(1601.4640908949991), np.float64(1601.4621735866854), np.float64(1601.4602562783716), np.float64(1601.4583389700576), np.float64(1601.456421661744), np.float64(1601.4545043534301), np.float64(1601.4525870451164), np.float64(1601.4506697368026), np.float64(1601.4487524284887), np.float64(1601.446835120175), np.float64(1601.4449178118612), np.float64(1601.4430005035474), np.float64(1601.4410831952337), np.float64(1601.4391658869197), np.float64(1601.437248578606), np.float64(1601.4353312702922), np.float64(1601.4334139619784), np.float64(1601.4314966536647), np.float64(1601.429579345351), np.float64(1601.427662037037), np.float64(1601.4257447287232), np.float64(1601.4238274204095), np.float64(1601.4219101120957), np.float64(1601.419992803782), np.float64(1601.418075495468), np.float64(1601.4161581871542), np.float64(1601.4142408788405), np.float64(1601.4123235705267), np.float64(1601.410406262213), np.float64(1601.4084889538992), np.float64(1601.4065716455852), np.float64(1601.4046543372715), np.float64(1601.4027370289577), np.float64(1601.400819720644), np.float64(1601.3989024123302), np.float64(1601.3969851040163), np.float64(1601.3950677957025), np.float64(1601.3931504873888), np.float64(1601.391233179075), np.float64(1601.3893158707613), np.float64(1601.3873985624473), np.float64(1601.3854812541335), np.float64(1601.3835639458198), np.float64(1601.381646637506), np.float64(1601.3797293291923), np.float64(1601.3778120208785), np.float64(1601.3758947125646), np.float64(1601.3739774042508), np.float64(1601.372060095937), np.float64(1601.3701427876233), np.float64(1601.3682254793096), np.float64(1601.3663081709956), np.float64(1601.3643908626818), np.float64(1601.362473554368), np.float64(1601.3605562460543), np.float64(1601.3586389377406), np.float64(1601.3567216294266), np.float64(1601.3548043211129), np.float64(1601.352887012799), np.float64(1601.3509697044854), np.float64(1601.3490523961716), np.float64(1601.3471350878579), np.float64(1601.3452177795439), np.float64(1601.3433004712301), np.float64(1601.3413831629164), np.float64(1601.3394658546026), np.float64(1601.3375485462889), np.float64(1601.335631237975), np.float64(1601.3337139296611), np.float64(1601.3317966213474), np.float64(1601.3298793130336), np.float64(1601.32796200472), np.float64(1601.326044696406), np.float64(1601.3241273880922), np.float64(1601.3222100797784), np.float64(1601.3202927714647), np.float64(1601.318375463151), np.float64(1601.3164581548372), np.float64(1601.3145408465232), np.float64(1601.3126235382094), np.float64(1601.3107062298957), np.float64(1601.308788921582), np.float64(1601.3068716132682), np.float64(1601.3049543049542), np.float64(1601.3030369966405), np.float64(1601.3011196883267), np.float64(1601.299202380013), np.float64(1601.2972850716992), np.float64(1601.2953677633852), np.float64(1601.2934504550715), np.float64(1601.2915331467577), np.float64(1601.289615838444), np.float64(1601.2876985301302), np.float64(1601.2857812218165), np.float64(1601.2838639135025), np.float64(1601.2819466051888), np.float64(1601.280029296875)]
Right Boundary Groundwater Elevations: [np.float64(1605.26611328125), np.float64(1605.2640361139836), np.float64(1605.261958946717), np.float64(1605.2598817794506), np.float64(1605.2578046121841), np.float64(1605.2557274449175), np.float64(1605.253650277651), np.float64(1605.2515731103847), np.float64(1605.249495943118), np.float64(1605.2474187758517), np.float64(1605.2453416085852), np.float64(1605.2432644413186), np.float64(1605.2411872740522), np.float64(1605.2391101067858), np.float64(1605.2370329395192), np.float64(1605.2349557722528), np.float64(1605.2328786049864), np.float64(1605.23080143772), np.float64(1605.2287242704533), np.float64(1605.226647103187), np.float64(1605.2245699359205), np.float64(1605.2224927686539), np.float64(1605.2204156013875), np.float64(1605.218338434121), np.float64(1605.2162612668544), np.float64(1605.214184099588), np.float64(1605.2121069323216), np.float64(1605.210029765055), np.float64(1605.2079525977886), np.float64(1605.2058754305222), np.float64(1605.2037982632555), np.float64(1605.2017210959891), np.float64(1605.1996439287227), np.float64(1605.197566761456), np.float64(1605.1954895941897), np.float64(1605.1934124269233), np.float64(1605.1913352596566), np.float64(1605.1892580923902), np.float64(1605.1871809251238), np.float64(1605.1851037578572), np.float64(1605.1830265905908), np.float64(1605.1809494233244), np.float64(1605.1788722560577), np.float64(1605.1767950887913), np.float64(1605.174717921525), np.float64(1605.1726407542585), np.float64(1605.1705635869919), np.float64(1605.1684864197255), np.float64(1605.166409252459), np.float64(1605.1643320851924), np.float64(1605.162254917926), np.float64(1605.1601777506596), np.float64(1605.158100583393), np.float64(1605.1560234161266), np.float64(1605.1539462488602), np.float64(1605.1518690815935), np.float64(1605.1497919143271), np.float64(1605.1477147470607), np.float64(1605.145637579794), np.float64(1605.1435604125277), np.float64(1605.1414832452613), np.float64(1605.1394060779946), np.float64(1605.1373289107282), np.float64(1605.1352517434618), np.float64(1605.1331745761952), np.float64(1605.1310974089288), np.float64(1605.1290202416624), np.float64(1605.1269430743957), np.float64(1605.1248659071293), np.float64(1605.122788739863), np.float64(1605.1207115725963), np.float64(1605.1186344053299), np.float64(1605.1165572380635), np.float64(1605.114480070797), np.float64(1605.1124029035304), np.float64(1605.110325736264), np.float64(1605.1082485689976), np.float64(1605.106171401731), np.float64(1605.1040942344646), np.float64(1605.1020170671982), np.float64(1605.0999398999315), np.float64(1605.0978627326651), np.float64(1605.0957855653987), np.float64(1605.093708398132), np.float64(1605.0916312308657), np.float64(1605.0895540635993), np.float64(1605.0874768963326), np.float64(1605.0853997290662), np.float64(1605.0833225617998), np.float64(1605.0812453945332), np.float64(1605.0791682272668), np.float64(1605.0770910600004), np.float64(1605.0750138927338), np.float64(1605.0729367254673), np.float64(1605.070859558201), np.float64(1605.0687823909343), np.float64(1605.066705223668), np.float64(1605.0646280564015), np.float64(1605.0625508891349), np.float64(1605.0604737218684), np.float64(1605.058396554602), np.float64(1605.0563193873356), np.float64(1605.054242220069), np.float64(1605.0521650528026), np.float64(1605.0500878855362), np.float64(1605.0480107182696), np.float64(1605.0459335510031), np.float64(1605.0438563837367), np.float64(1605.04177921647), np.float64(1605.0397020492037), np.float64(1605.0376248819373), np.float64(1605.0355477146707), np.float64(1605.0334705474042), np.float64(1605.0313933801378), np.float64(1605.0293162128712), np.float64(1605.0272390456048), np.float64(1605.0251618783384), np.float64(1605.0230847110718), np.float64(1605.0210075438054), np.float64(1605.018930376539), np.float64(1605.0168532092723), np.float64(1605.014776042006), np.float64(1605.0126988747395), np.float64(1605.0106217074729), np.float64(1605.0085445402065), np.float64(1605.00646737294), np.float64(1605.0043902056734), np.float64(1605.002313038407), np.float64(1605.0002358711406), np.float64(1604.9981587038742), np.float64(1604.9960815366076), np.float64(1604.9940043693412), np.float64(1604.9919272020747), np.float64(1604.9898500348081), np.float64(1604.9877728675417), np.float64(1604.9856957002753), np.float64(1604.9836185330087), np.float64(1604.9815413657423), np.float64(1604.9794641984759), np.float64(1604.9773870312092), np.float64(1604.9753098639428), np.float64(1604.9732326966764), np.float64(1604.9711555294098), np.float64(1604.9690783621434), np.float64(1604.967001194877), np.float64(1604.9649240276103), np.float64(1604.962846860344), np.float64(1604.9607696930775), np.float64(1604.9586925258109), np.float64(1604.9566153585445), np.float64(1604.954538191278), np.float64(1604.9524610240114), np.float64(1604.950383856745), np.float64(1604.9483066894786), np.float64(1604.946229522212), np.float64(1604.9441523549456), np.float64(1604.9420751876792), np.float64(1604.9399980204128), np.float64(1604.9379208531461), np.float64(1604.9358436858797), np.float64(1604.9337665186133), np.float64(1604.9316893513467), np.float64(1604.9296121840803), np.float64(1604.9275350168139), np.float64(1604.9254578495472), np.float64(1604.9233806822808), np.float64(1604.9213035150144), np.float64(1604.9192263477478), np.float64(1604.9171491804814), np.float64(1604.915072013215), np.float64(1604.9129948459483), np.float64(1604.910917678682), np.float64(1604.9088405114155), np.float64(1604.9067633441489), np.float64(1604.9046861768825), np.float64(1604.902609009616), np.float64(1604.9005318423494), np.float64(1604.898454675083), np.float64(1604.8963775078166), np.float64(1604.89430034055), np.float64(1604.8922231732836), np.float64(1604.8901460060172), np.float64(1604.8880688387505), np.float64(1604.8859916714841), np.float64(1604.8839145042177), np.float64(1604.8818373369513), np.float64(1604.8797601696847), np.float64(1604.8776830024183), np.float64(1604.8756058351519), np.float64(1604.8735286678852), np.float64(1604.8714515006188), np.float64(1604.8693743333524), np.float64(1604.8672971660858), np.float64(1604.8652199988194), np.float64(1604.863142831553), np.float64(1604.8610656642863), np.float64(1604.85898849702), np.float64(1604.8569113297535), np.float64(1604.854834162487), np.float64(1604.8527569952205), np.float64(1604.850679827954), np.float64(1604.8486026606874), np.float64(1604.846525493421), np.float64(1604.8444483261546), np.float64(1604.842371158888), np.float64(1604.8402939916216), np.float64(1604.8382168243552), np.float64(1604.8361396570886), np.float64(1604.8340624898221), np.float64(1604.8319853225557), np.float64(1604.829908155289), np.float64(1604.8278309880227), np.float64(1604.8257538207563), np.float64(1604.8236766534899), np.float64(1604.8215994862232), np.float64(1604.8195223189568), np.float64(1604.8174451516904), np.float64(1604.8153679844238), np.float64(1604.8132908171574), np.float64(1604.811213649891), np.float64(1604.8091364826244), np.float64(1604.807059315358), np.float64(1604.8049821480915), np.float64(1604.802904980825), np.float64(1604.8008278135585), np.float64(1604.798750646292), np.float64(1604.7966734790255), np.float64(1604.794596311759), np.float64(1604.7925191444926), np.float64(1604.790441977226), np.float64(1604.7883648099596), np.float64(1604.7862876426932), np.float64(1604.7842104754266), np.float64(1604.7821333081602), np.float64(1604.7800561408937), np.float64(1604.7779789736271), np.float64(1604.7759018063607), np.float64(1604.7738246390943), np.float64(1604.7717474718277), np.float64(1604.7696703045613), np.float64(1604.7675931372949), np.float64(1604.7655159700284), np.float64(1604.7634388027618), np.float64(1604.7613616354954), np.float64(1604.759284468229), np.float64(1604.7572073009624), np.float64(1604.755130133696), np.float64(1604.7530529664295), np.float64(1604.750975799163), np.float64(1604.7488986318965), np.float64(1604.74682146463), np.float64(1604.7447442973635), np.float64(1604.742667130097), np.float64(1604.7405899628307), np.float64(1604.738512795564), np.float64(1604.7364356282976), np.float64(1604.7343584610312), np.float64(1604.7322812937646), np.float64(1604.7302041264982), np.float64(1604.7281269592318), np.float64(1604.7260497919651), np.float64(1604.7239726246987), np.float64(1604.7218954574323), np.float64(1604.7198182901657), np.float64(1604.7177411228993), np.float64(1604.7156639556329), np.float64(1604.7135867883662), np.float64(1604.7115096210998), np.float64(1604.7094324538334), np.float64(1604.707355286567), np.float64(1604.7052781193004), np.float64(1604.703200952034), np.float64(1604.7011237847676), np.float64(1604.699046617501), np.float64(1604.6969694502345), np.float64(1604.694892282968), np.float64(1604.6928151157015), np.float64(1604.690737948435), np.float64(1604.6886607811687), np.float64(1604.686583613902), np.float64(1604.6845064466356), np.float64(1604.6824292793692), np.float64(1604.6803521121026), np.float64(1604.6782749448362), np.float64(1604.6761977775698), np.float64(1604.6741206103031), np.float64(1604.6720434430367), np.float64(1604.6699662757703), np.float64(1604.6678891085037), np.float64(1604.6658119412373), np.float64(1604.6637347739709), np.float64(1604.6616576067042), np.float64(1604.6595804394378), np.float64(1604.6575032721714), np.float64(1604.6554261049048), np.float64(1604.6533489376384), np.float64(1604.651271770372), np.float64(1604.6491946031056), np.float64(1604.647117435839), np.float64(1604.6450402685725), np.float64(1604.6429631013061), np.float64(1604.6408859340395), np.float64(1604.638808766773), np.float64(1604.6367315995067), np.float64(1604.63465443224), np.float64(1604.6325772649736), np.float64(1604.6305000977072), np.float64(1604.6284229304406), np.float64(1604.6263457631742), np.float64(1604.6242685959078), np.float64(1604.6221914286411), np.float64(1604.6201142613747), np.float64(1604.6180370941083), np.float64(1604.6159599268417), np.float64(1604.6138827595753), np.float64(1604.6118055923089), np.float64(1604.6097284250422), np.float64(1604.6076512577758), np.float64(1604.6055740905094), np.float64(1604.6034969232428), np.float64(1604.6014197559764), np.float64(1604.59934258871), np.float64(1604.5972654214434), np.float64(1604.595188254177), np.float64(1604.5931110869105), np.float64(1604.5910339196441), np.float64(1604.5889567523775), np.float64(1604.586879585111), np.float64(1604.5848024178447), np.float64(1604.582725250578), np.float64(1604.5806480833116), np.float64(1604.5785709160452), np.float64(1604.5764937487786), np.float64(1604.5744165815122), np.float64(1604.5723394142458), np.float64(1604.5702622469792), np.float64(1604.5681850797127), np.float64(1604.5661079124463), np.float64(1604.5640307451797), np.float64(1604.5619535779133), np.float64(1604.559876410647), np.float64(1604.5577992433803), np.float64(1604.5557220761139), np.float64(1604.5536449088474), np.float64(1604.5515677415808), np.float64(1604.5494905743144), np.float64(1604.547413407048), np.float64(1604.5453362397814), np.float64(1604.543259072515), np.float64(1604.5411819052485), np.float64(1604.539104737982), np.float64(1604.5370275707155), np.float64(1604.534950403449), np.float64(1604.5328732361827), np.float64(1604.530796068916), np.float64(1604.5287189016497), np.float64(1604.5266417343832), np.float64(1604.5245645671166), np.float64(1604.5224873998502), np.float64(1604.5204102325838), np.float64(1604.5183330653172), np.float64(1604.5162558980508), np.float64(1604.5141787307844), np.float64(1604.5121015635177), np.float64(1604.5100243962513), np.float64(1604.507947228985), np.float64(1604.5058700617183), np.float64(1604.5037928944519), np.float64(1604.5017157271855), np.float64(1604.4996385599188), np.float64(1604.4975613926524), np.float64(1604.495484225386), np.float64(1604.4934070581194), np.float64(1604.491329890853), np.float64(1604.4892527235866), np.float64(1604.48717555632), np.float64(1604.4850983890535), np.float64(1604.483021221787), np.float64(1604.4809440545205), np.float64(1604.478866887254), np.float64(1604.4767897199877), np.float64(1604.4747125527213), np.float64(1604.4726353854546), np.float64(1604.4705582181882), np.float64(1604.4684810509218), np.float64(1604.4664038836552), np.float64(1604.4643267163888), np.float64(1604.4622495491224), np.float64(1604.4601723818557), np.float64(1604.4580952145893), np.float64(1604.456018047323), np.float64(1604.4539408800563), np.float64(1604.4518637127899), np.float64(1604.4497865455235), np.float64(1604.4477093782568), np.float64(1604.4456322109904), np.float64(1604.443555043724), np.float64(1604.4414778764574), np.float64(1604.439400709191), np.float64(1604.4373235419246), np.float64(1604.435246374658), np.float64(1604.4331692073915), np.float64(1604.4310920401251), np.float64(1604.4290148728585), np.float64(1604.426937705592), np.float64(1604.4248605383257), np.float64(1604.422783371059), np.float64(1604.4207062037926), np.float64(1604.4186290365262), np.float64(1604.4165518692596), np.float64(1604.4144747019932), np.float64(1604.4123975347268), np.float64(1604.4103203674604), np.float64(1604.4082432001937), np.float64(1604.4061660329273), np.float64(1604.404088865661), np.float64(1604.4020116983943), np.float64(1604.3999345311279), np.float64(1604.3978573638615), np.float64(1604.3957801965948), np.float64(1604.3937030293284), np.float64(1604.391625862062), np.float64(1604.3895486947954), np.float64(1604.387471527529), np.float64(1604.3853943602626), np.float64(1604.383317192996), np.float64(1604.3812400257295), np.float64(1604.3791628584631), np.float64(1604.3770856911965), np.float64(1604.37500852393), np.float64(1604.3729313566637), np.float64(1604.370854189397), np.float64(1604.3687770221306), np.float64(1604.3666998548642), np.float64(1604.3646226875976), np.float64(1604.3625455203312), np.float64(1604.3604683530648), np.float64(1604.3583911857982), np.float64(1604.3563140185317), np.float64(1604.3542368512653), np.float64(1604.352159683999), np.float64(1604.3500825167323), np.float64(1604.348005349466), np.float64(1604.3459281821995), np.float64(1604.3438510149329), np.float64(1604.3417738476664), np.float64(1604.3396966804), np.float64(1604.3376195131334), np.float64(1604.335542345867), np.float64(1604.3334651786006), np.float64(1604.331388011334), np.float64(1604.3293108440675), np.float64(1604.3272336768011), np.float64(1604.3251565095345), np.float64(1604.323079342268), np.float64(1604.3210021750017), np.float64(1604.318925007735), np.float64(1604.3168478404687), np.float64(1604.3147706732022), np.float64(1604.3126935059356), np.float64(1604.3106163386692), np.float64(1604.3085391714028), np.float64(1604.3064620041362), np.float64(1604.3043848368698), np.float64(1604.3023076696034), np.float64(1604.3002305023367), np.float64(1604.2981533350703), np.float64(1604.296076167804), np.float64(1604.2939990005375), np.float64(1604.2919218332709), np.float64(1604.2898446660045), np.float64(1604.287767498738), np.float64(1604.2856903314714), np.float64(1604.283613164205), np.float64(1604.2815359969386), np.float64(1604.279458829672), np.float64(1604.2773816624056), np.float64(1604.2753044951392), np.float64(1604.2732273278725), np.float64(1604.271150160606), np.float64(1604.2690729933397), np.float64(1604.266995826073), np.float64(1604.2649186588067), np.float64(1604.2628414915403), np.float64(1604.2607643242736), np.float64(1604.2586871570072), np.float64(1604.2566099897408), np.float64(1604.2545328224742), np.float64(1604.2524556552078), np.float64(1604.2503784879414), np.float64(1604.2483013206747), np.float64(1604.2462241534083), np.float64(1604.244146986142), np.float64(1604.2420698188753), np.float64(1604.2399926516089), np.float64(1604.2379154843425), np.float64(1604.235838317076), np.float64(1604.2337611498094), np.float64(1604.231683982543), np.float64(1604.2296068152766), np.float64(1604.22752964801), np.float64(1604.2254524807436), np.float64(1604.2233753134772), np.float64(1604.2212981462105), np.float64(1604.2192209789441), np.float64(1604.2171438116777), np.float64(1604.215066644411), np.float64(1604.2129894771447), np.float64(1604.2109123098783), np.float64(1604.2088351426116), np.float64(1604.2067579753452), np.float64(1604.2046808080788), np.float64(1604.2026036408122), np.float64(1604.2005264735458), np.float64(1604.1984493062794), np.float64(1604.1963721390127), np.float64(1604.1942949717463), np.float64(1604.19221780448), np.float64(1604.1901406372133), np.float64(1604.1880634699469), np.float64(1604.1859863026805), np.float64(1604.1839091354138), np.float64(1604.1818319681474), np.float64(1604.179754800881), np.float64(1604.1776776336146), np.float64(1604.175600466348), np.float64(1604.1735232990816), np.float64(1604.1714461318152), np.float64(1604.1693689645485), np.float64(1604.1672917972821), np.float64(1604.1652146300157), np.float64(1604.163137462749), np.float64(1604.1610602954827), np.float64(1604.1589831282163), np.float64(1604.1569059609496), np.float64(1604.1548287936832), np.float64(1604.1527516264168), np.float64(1604.1506744591502), np.float64(1604.1485972918838), np.float64(1604.1465201246174), np.float64(1604.1444429573507), np.float64(1604.1423657900843), np.float64(1604.140288622818), np.float64(1604.1382114555513), np.float64(1604.136134288285), np.float64(1604.1340571210185), np.float64(1604.1319799537519), np.float64(1604.1299027864854), np.float64(1604.127825619219), np.float64(1604.1257484519524), np.float64(1604.123671284686), np.float64(1604.1215941174196), np.float64(1604.1195169501532), np.float64(1604.1174397828865), np.float64(1604.1153626156201), np.float64(1604.1132854483537), np.float64(1604.111208281087), np.float64(1604.1091311138207), np.float64(1604.1070539465543), np.float64(1604.1049767792877), np.float64(1604.1028996120212), np.float64(1604.1008224447548), np.float64(1604.0987452774882), np.float64(1604.0966681102218), np.float64(1604.0945909429554), np.float64(1604.0925137756888), np.float64(1604.0904366084224), np.float64(1604.088359441156), np.float64(1604.0862822738893), np.float64(1604.084205106623), np.float64(1604.0821279393565), np.float64(1604.0800507720899), np.float64(1604.0779736048235), np.float64(1604.075896437557), np.float64(1604.0738192702904), np.float64(1604.071742103024), np.float64(1604.0696649357576), np.float64(1604.067587768491), np.float64(1604.0655106012246), np.float64(1604.0634334339582), np.float64(1604.0613562666917), np.float64(1604.059279099425), np.float64(1604.0572019321587), np.float64(1604.0551247648923), np.float64(1604.0530475976257), np.float64(1604.0509704303593), np.float64(1604.0488932630929), np.float64(1604.0468160958262), np.float64(1604.0447389285598), np.float64(1604.0426617612934), np.float64(1604.0405845940268), np.float64(1604.0385074267604), np.float64(1604.036430259494), np.float64(1604.0343530922273), np.float64(1604.032275924961), np.float64(1604.0301987576945), np.float64(1604.0281215904279), np.float64(1604.0260444231615), np.float64(1604.023967255895), np.float64(1604.0218900886284), np.float64(1604.019812921362), np.float64(1604.0177357540956), np.float64(1604.015658586829), np.float64(1604.0135814195626), np.float64(1604.0115042522962), np.float64(1604.0094270850295), np.float64(1604.0073499177631), np.float64(1604.0052727504967), np.float64(1604.0031955832303), np.float64(1604.0011184159637), np.float64(1603.9990412486973), np.float64(1603.9969640814309), np.float64(1603.9948869141642), np.float64(1603.9928097468978), np.float64(1603.9907325796314), np.float64(1603.9886554123648), np.float64(1603.9865782450984), np.float64(1603.984501077832), np.float64(1603.9824239105653), np.float64(1603.980346743299), np.float64(1603.9782695760325), np.float64(1603.9761924087659), np.float64(1603.9741152414995), np.float64(1603.972038074233), np.float64(1603.9699609069664), np.float64(1603.9678837397), np.float64(1603.9658065724336), np.float64(1603.963729405167), np.float64(1603.9616522379006), np.float64(1603.9595750706342), np.float64(1603.9574979033675), np.float64(1603.9554207361011), np.float64(1603.9533435688347), np.float64(1603.951266401568), np.float64(1603.9491892343017), np.float64(1603.9471120670353), np.float64(1603.9450348997689), np.float64(1603.9429577325022), np.float64(1603.9408805652358), np.float64(1603.9388033979694), np.float64(1603.9367262307028), np.float64(1603.9346490634364), np.float64(1603.93257189617), np.float64(1603.9304947289033), np.float64(1603.928417561637), np.float64(1603.9263403943705), np.float64(1603.924263227104), np.float64(1603.9221860598375), np.float64(1603.920108892571), np.float64(1603.9180317253044), np.float64(1603.915954558038), np.float64(1603.9138773907716), np.float64(1603.911800223505), np.float64(1603.9097230562386), np.float64(1603.9076458889722), np.float64(1603.9055687217055), np.float64(1603.9034915544391), np.float64(1603.9014143871727), np.float64(1603.899337219906), np.float64(1603.8972600526397), np.float64(1603.8951828853733), np.float64(1603.8931057181067), np.float64(1603.8910285508402), np.float64(1603.8889513835738), np.float64(1603.8868742163074), np.float64(1603.8847970490408), np.float64(1603.8827198817744), np.float64(1603.880642714508), np.float64(1603.8785655472414), np.float64(1603.876488379975), np.float64(1603.8744112127085), np.float64(1603.872334045442), np.float64(1603.8702568781755), np.float64(1603.868179710909), np.float64(1603.8661025436425), np.float64(1603.864025376376), np.float64(1603.8619482091096), np.float64(1603.859871041843), np.float64(1603.8577938745766), np.float64(1603.8557167073102), np.float64(1603.8536395400436), np.float64(1603.8515623727772), np.float64(1603.8494852055107), np.float64(1603.847408038244), np.float64(1603.8453308709777), np.float64(1603.8432537037113), np.float64(1603.8411765364447), np.float64(1603.8390993691783), np.float64(1603.8370222019119), np.float64(1603.8349450346452), np.float64(1603.8328678673788), np.float64(1603.8307907001124), np.float64(1603.828713532846), np.float64(1603.8266363655794), np.float64(1603.824559198313), np.float64(1603.8224820310465), np.float64(1603.82040486378), np.float64(1603.8183276965135), np.float64(1603.816250529247), np.float64(1603.8141733619805), np.float64(1603.812096194714), np.float64(1603.8100190274477), np.float64(1603.807941860181), np.float64(1603.8058646929146), np.float64(1603.8037875256482), np.float64(1603.8017103583816), np.float64(1603.7996331911152), np.float64(1603.7975560238488), np.float64(1603.7954788565821), np.float64(1603.7934016893157), np.float64(1603.7913245220493), np.float64(1603.7892473547827), np.float64(1603.7871701875163), np.float64(1603.7850930202499), np.float64(1603.7830158529832), np.float64(1603.7809386857168), np.float64(1603.7788615184504), np.float64(1603.7767843511838), np.float64(1603.7747071839174), np.float64(1603.772630016651), np.float64(1603.7705528493846), np.float64(1603.768475682118), np.float64(1603.7663985148515), np.float64(1603.764321347585), np.float64(1603.7622441803185), np.float64(1603.760167013052), np.float64(1603.7580898457857), np.float64(1603.756012678519), np.float64(1603.7539355112526), np.float64(1603.7518583439862), np.float64(1603.7497811767196), np.float64(1603.7477040094532), np.float64(1603.7456268421868), np.float64(1603.7435496749201), np.float64(1603.7414725076537), np.float64(1603.7393953403873), np.float64(1603.7373181731207), np.float64(1603.7352410058543), np.float64(1603.7331638385879), np.float64(1603.7310866713212), np.float64(1603.7290095040548), np.float64(1603.7269323367884), np.float64(1603.7248551695218), np.float64(1603.7227780022554), np.float64(1603.720700834989), np.float64(1603.7186236677223), np.float64(1603.716546500456), np.float64(1603.7144693331895), np.float64(1603.7123921659231), np.float64(1603.7103149986565), np.float64(1603.70823783139), np.float64(1603.7061606641237), np.float64(1603.704083496857), np.float64(1603.7020063295906), np.float64(1603.6999291623242), np.float64(1603.6978519950576), np.float64(1603.6957748277912), np.float64(1603.6936976605248), np.float64(1603.6916204932581), np.float64(1603.6895433259917), np.float64(1603.6874661587253), np.float64(1603.6853889914587), np.float64(1603.6833118241923), np.float64(1603.6812346569259), np.float64(1603.6791574896592), np.float64(1603.6770803223928), np.float64(1603.6750031551264), np.float64(1603.6729259878598), np.float64(1603.6708488205934), np.float64(1603.668771653327), np.float64(1603.6666944860604), np.float64(1603.664617318794), np.float64(1603.6625401515275), np.float64(1603.660462984261), np.float64(1603.6583858169945), np.float64(1603.656308649728), np.float64(1603.6542314824615), np.float64(1603.652154315195), np.float64(1603.6500771479286), np.float64(1603.6479999806622), np.float64(1603.6459228133956), np.float64(1603.6438456461292), np.float64(1603.6417684788628), np.float64(1603.6396913115962), np.float64(1603.6376141443297), np.float64(1603.6355369770633), np.float64(1603.6334598097967), np.float64(1603.6313826425303), np.float64(1603.629305475264), np.float64(1603.6272283079973), np.float64(1603.6251511407308), np.float64(1603.6230739734644), np.float64(1603.6209968061978), np.float64(1603.6189196389314), np.float64(1603.616842471665), np.float64(1603.6147653043984), np.float64(1603.612688137132), np.float64(1603.6106109698655), np.float64(1603.608533802599), np.float64(1603.6064566353325), np.float64(1603.604379468066), np.float64(1603.6023023007995), np.float64(1603.600225133533), np.float64(1603.5981479662667), np.float64(1603.596070799), np.float64(1603.5939936317336), np.float64(1603.5919164644672), np.float64(1603.5898392972008), np.float64(1603.5877621299342), np.float64(1603.5856849626678), np.float64(1603.5836077954013), np.float64(1603.5815306281347), np.float64(1603.5794534608683), np.float64(1603.577376293602), np.float64(1603.5752991263353), np.float64(1603.5732219590689), np.float64(1603.5711447918025), np.float64(1603.5690676245358), np.float64(1603.5669904572694), np.float64(1603.564913290003), np.float64(1603.5628361227364), np.float64(1603.56075895547), np.float64(1603.5586817882036), np.float64(1603.556604620937), np.float64(1603.5545274536705), np.float64(1603.552450286404), np.float64(1603.5503731191375), np.float64(1603.548295951871), np.float64(1603.5462187846047), np.float64(1603.544141617338), np.float64(1603.5420644500716), np.float64(1603.5399872828052), np.float64(1603.5379101155386), np.float64(1603.5358329482722), np.float64(1603.5337557810058), np.float64(1603.5316786137394), np.float64(1603.5296014464727), np.float64(1603.5275242792063), np.float64(1603.52544711194), np.float64(1603.5233699446733), np.float64(1603.5212927774069), np.float64(1603.5192156101405), np.float64(1603.5171384428738), np.float64(1603.5150612756074), np.float64(1603.512984108341), np.float64(1603.5109069410744), np.float64(1603.508829773808), np.float64(1603.5067526065416), np.float64(1603.504675439275), np.float64(1603.5025982720085), np.float64(1603.5005211047421), np.float64(1603.4984439374755), np.float64(1603.496366770209), np.float64(1603.4942896029427), np.float64(1603.492212435676), np.float64(1603.4901352684096), np.float64(1603.4880581011432), np.float64(1603.4859809338766), np.float64(1603.4839037666102), np.float64(1603.4818265993438), np.float64(1603.4797494320771), np.float64(1603.4776722648107), np.float64(1603.4755950975443), np.float64(1603.473517930278), np.float64(1603.4714407630113), np.float64(1603.4693635957449), np.float64(1603.4672864284785), np.float64(1603.4652092612118), np.float64(1603.4631320939454), np.float64(1603.461054926679), np.float64(1603.4589777594124), np.float64(1603.456900592146), np.float64(1603.4548234248796), np.float64(1603.452746257613), np.float64(1603.4506690903465), np.float64(1603.4485919230801), np.float64(1603.4465147558135), np.float64(1603.444437588547), np.float64(1603.4423604212807), np.float64(1603.440283254014), np.float64(1603.4382060867476), np.float64(1603.4361289194812), np.float64(1603.4340517522146), np.float64(1603.4319745849482), np.float64(1603.4298974176818), np.float64(1603.4278202504152), np.float64(1603.4257430831487), np.float64(1603.4236659158823), np.float64(1603.4215887486157), np.float64(1603.4195115813493), np.float64(1603.417434414083), np.float64(1603.4153572468165), np.float64(1603.4132800795498), np.float64(1603.4112029122834), np.float64(1603.409125745017), np.float64(1603.4070485777504), np.float64(1603.404971410484), np.float64(1603.4028942432176), np.float64(1603.400817075951), np.float64(1603.3987399086845), np.float64(1603.3966627414181), np.float64(1603.3945855741515), np.float64(1603.392508406885), np.float64(1603.3904312396187), np.float64(1603.388354072352), np.float64(1603.3862769050857), np.float64(1603.3841997378192), np.float64(1603.3821225705526), np.float64(1603.3800454032862), np.float64(1603.3779682360198), np.float64(1603.3758910687532), np.float64(1603.3738139014868), np.float64(1603.3717367342203), np.float64(1603.3696595669537), np.float64(1603.3675823996873), np.float64(1603.365505232421), np.float64(1603.3634280651543), np.float64(1603.3613508978879), np.float64(1603.3592737306215), np.float64(1603.357196563355), np.float64(1603.3551193960884), np.float64(1603.353042228822), np.float64(1603.3509650615556), np.float64(1603.348887894289), np.float64(1603.3468107270226), np.float64(1603.3447335597562), np.float64(1603.3426563924895), np.float64(1603.340579225223), np.float64(1603.3385020579567), np.float64(1603.33642489069), np.float64(1603.3343477234237), np.float64(1603.3322705561573), np.float64(1603.3301933888906), np.float64(1603.3281162216242), np.float64(1603.3260390543578), np.float64(1603.3239618870912), np.float64(1603.3218847198248), np.float64(1603.3198075525584), np.float64(1603.3177303852917), np.float64(1603.3156532180253), np.float64(1603.313576050759), np.float64(1603.3114988834923), np.float64(1603.3094217162259), np.float64(1603.3073445489595), np.float64(1603.3052673816928), np.float64(1603.3031902144264), np.float64(1603.30111304716), np.float64(1603.2990358798936), np.float64(1603.296958712627), np.float64(1603.2948815453606), np.float64(1603.2928043780942), np.float64(1603.2907272108275), np.float64(1603.2886500435611), np.float64(1603.2865728762947), np.float64(1603.284495709028), np.float64(1603.2824185417617), np.float64(1603.2803413744953), np.float64(1603.2782642072286), np.float64(1603.2761870399622), np.float64(1603.2741098726958), np.float64(1603.2720327054292), np.float64(1603.2699555381628), np.float64(1603.2678783708964), np.float64(1603.2658012036297), np.float64(1603.2637240363633), np.float64(1603.261646869097), np.float64(1603.2595697018303), np.float64(1603.2574925345639), np.float64(1603.2554153672975), np.float64(1603.2533382000308), np.float64(1603.2512610327644), np.float64(1603.249183865498), np.float64(1603.2471066982314), np.float64(1603.245029530965), np.float64(1603.2429523636986), np.float64(1603.2408751964322), np.float64(1603.2387980291655), np.float64(1603.2367208618991), np.float64(1603.2346436946327), np.float64(1603.232566527366), np.float64(1603.2304893600997), np.float64(1603.2284121928333), np.float64(1603.2263350255666), np.float64(1603.2242578583002), np.float64(1603.2221806910338), np.float64(1603.2201035237672), np.float64(1603.2180263565008), np.float64(1603.2159491892344), np.float64(1603.2138720219677), np.float64(1603.2117948547013), np.float64(1603.209717687435), np.float64(1603.2076405201683), np.float64(1603.205563352902), np.float64(1603.2034861856355), np.float64(1603.2014090183688), np.float64(1603.1993318511024), np.float64(1603.197254683836), np.float64(1603.1951775165694), np.float64(1603.193100349303), np.float64(1603.1910231820366), np.float64(1603.18894601477), np.float64(1603.1868688475035), np.float64(1603.1847916802371), np.float64(1603.1827145129707), np.float64(1603.180637345704), np.float64(1603.1785601784377), np.float64(1603.1764830111713), np.float64(1603.1744058439047), np.float64(1603.1723286766382), np.float64(1603.1702515093718), np.float64(1603.1681743421052), np.float64(1603.1660971748388), np.float64(1603.1640200075724), np.float64(1603.1619428403058), np.float64(1603.1598656730393), np.float64(1603.157788505773), np.float64(1603.1557113385063), np.float64(1603.15363417124), np.float64(1603.1515570039735), np.float64(1603.1494798367069), np.float64(1603.1474026694405), np.float64(1603.145325502174), np.float64(1603.1432483349074), np.float64(1603.141171167641), np.float64(1603.1390940003746), np.float64(1603.137016833108), np.float64(1603.1349396658416), np.float64(1603.1328624985752), np.float64(1603.1307853313085), np.float64(1603.128708164042), np.float64(1603.1266309967757), np.float64(1603.1245538295093), np.float64(1603.1224766622427), np.float64(1603.1203994949763), np.float64(1603.1183223277098), np.float64(1603.1162451604432), np.float64(1603.1141679931768), np.float64(1603.1120908259104), np.float64(1603.1100136586438), np.float64(1603.1079364913774), np.float64(1603.105859324111), np.float64(1603.1037821568443), np.float64(1603.101704989578), np.float64(1603.0996278223115), np.float64(1603.0975506550449), np.float64(1603.0954734877785), np.float64(1603.093396320512), np.float64(1603.0913191532454), np.float64(1603.089241985979), np.float64(1603.0871648187126), np.float64(1603.085087651446), np.float64(1603.0830104841796), np.float64(1603.0809333169132), np.float64(1603.0788561496465), np.float64(1603.0767789823801), np.float64(1603.0747018151137), np.float64(1603.072624647847), np.float64(1603.0705474805807), np.float64(1603.0684703133143), np.float64(1603.0663931460479), np.float64(1603.0643159787812), np.float64(1603.0622388115148), np.float64(1603.0601616442484), np.float64(1603.0580844769818), np.float64(1603.0560073097154), np.float64(1603.053930142449), np.float64(1603.0518529751823), np.float64(1603.049775807916), np.float64(1603.0476986406495), np.float64(1603.0456214733829), np.float64(1603.0435443061165), np.float64(1603.04146713885), np.float64(1603.0393899715834), np.float64(1603.037312804317), np.float64(1603.0352356370506), np.float64(1603.033158469784), np.float64(1603.0310813025176), np.float64(1603.0290041352512), np.float64(1603.0269269679845), np.float64(1603.0248498007181), np.float64(1603.0227726334517), np.float64(1603.020695466185), np.float64(1603.0186182989187), np.float64(1603.0165411316523), np.float64(1603.0144639643856), np.float64(1603.0123867971192), np.float64(1603.0103096298528), np.float64(1603.0082324625864), np.float64(1603.0061552953198), np.float64(1603.0040781280534), np.float64(1603.002000960787), np.float64(1602.9999237935203), np.float64(1602.997846626254), np.float64(1602.9957694589875), np.float64(1602.993692291721), np.float64(1602.9916151244545), np.float64(1602.989537957188), np.float64(1602.9874607899214), np.float64(1602.985383622655), np.float64(1602.9833064553886), np.float64(1602.981229288122), np.float64(1602.9791521208556), np.float64(1602.9770749535892), np.float64(1602.9749977863225), np.float64(1602.9729206190561), np.float64(1602.9708434517897), np.float64(1602.968766284523), np.float64(1602.9666891172567), np.float64(1602.9646119499903), np.float64(1602.9625347827237), np.float64(1602.9604576154572), np.float64(1602.9583804481908), np.float64(1602.9563032809242), np.float64(1602.9542261136578), np.float64(1602.9521489463914), np.float64(1602.950071779125), np.float64(1602.9479946118583), np.float64(1602.945917444592), np.float64(1602.9438402773255), np.float64(1602.941763110059), np.float64(1602.9396859427925), np.float64(1602.937608775526), np.float64(1602.9355316082595), np.float64(1602.933454440993), np.float64(1602.9313772737266), np.float64(1602.92930010646), np.float64(1602.9272229391936), np.float64(1602.9251457719272), np.float64(1602.9230686046606), np.float64(1602.9209914373942), np.float64(1602.9189142701277), np.float64(1602.916837102861), np.float64(1602.9147599355947), np.float64(1602.9126827683283), np.float64(1602.9106056010617), np.float64(1602.9085284337953), np.float64(1602.9064512665288), np.float64(1602.9043740992622), np.float64(1602.9022969319958), np.float64(1602.9002197647294), np.float64(1602.8981425974628), np.float64(1602.8960654301964), np.float64(1602.89398826293), np.float64(1602.8919110956635), np.float64(1602.889833928397), np.float64(1602.8877567611305), np.float64(1602.885679593864), np.float64(1602.8836024265975), np.float64(1602.881525259331), np.float64(1602.8794480920646), np.float64(1602.877370924798), np.float64(1602.8752937575316), np.float64(1602.8732165902652), np.float64(1602.8711394229986), np.float64(1602.8690622557322), np.float64(1602.8669850884658), np.float64(1602.8649079211991), np.float64(1602.8628307539327), np.float64(1602.8607535866663), np.float64(1602.8586764193997), np.float64(1602.8565992521333), np.float64(1602.8545220848669), np.float64(1602.8524449176002), np.float64(1602.8503677503338), np.float64(1602.8482905830674), np.float64(1602.8462134158008), np.float64(1602.8441362485344), np.float64(1602.842059081268), np.float64(1602.8399819140013), np.float64(1602.837904746735), np.float64(1602.8358275794685), np.float64(1602.8337504122019), np.float64(1602.8316732449355), np.float64(1602.829596077669), np.float64(1602.8275189104027), np.float64(1602.825441743136), np.float64(1602.8233645758696), np.float64(1602.8212874086032), np.float64(1602.8192102413366), np.float64(1602.8171330740702), np.float64(1602.8150559068038), np.float64(1602.8129787395371), np.float64(1602.8109015722707), np.float64(1602.8088244050043), np.float64(1602.8067472377377), np.float64(1602.8046700704713), np.float64(1602.8025929032049), np.float64(1602.8005157359382), np.float64(1602.7984385686718), np.float64(1602.7963614014054), np.float64(1602.7942842341388), np.float64(1602.7922070668724), np.float64(1602.790129899606), np.float64(1602.7880527323393), np.float64(1602.785975565073), np.float64(1602.7838983978065), np.float64(1602.78182123054), np.float64(1602.7797440632735), np.float64(1602.777666896007), np.float64(1602.7755897287404), np.float64(1602.773512561474), np.float64(1602.7714353942076), np.float64(1602.7693582269412), np.float64(1602.7672810596746), np.float64(1602.7652038924082), np.float64(1602.7631267251418), np.float64(1602.7610495578751), np.float64(1602.7589723906087), np.float64(1602.7568952233423), np.float64(1602.7548180560757), np.float64(1602.7527408888093), np.float64(1602.7506637215429), np.float64(1602.7485865542762), np.float64(1602.7465093870098), np.float64(1602.7444322197434), np.float64(1602.7423550524768), np.float64(1602.7402778852104), np.float64(1602.738200717944), np.float64(1602.7361235506773), np.float64(1602.734046383411), np.float64(1602.7319692161445), np.float64(1602.729892048878), np.float64(1602.7278148816115), np.float64(1602.725737714345), np.float64(1602.7236605470785), np.float64(1602.721583379812), np.float64(1602.7195062125456), np.float64(1602.717429045279), np.float64(1602.7153518780126), np.float64(1602.7132747107462), np.float64(1602.7111975434798), np.float64(1602.7091203762131), np.float64(1602.7070432089467), np.float64(1602.7049660416803), np.float64(1602.7028888744137), np.float64(1602.7008117071473), np.float64(1602.698734539881), np.float64(1602.6966573726143), np.float64(1602.6945802053478), np.float64(1602.6925030380814), np.float64(1602.6904258708148), np.float64(1602.6883487035484), np.float64(1602.686271536282), np.float64(1602.6841943690154), np.float64(1602.682117201749), np.float64(1602.6800400344825), np.float64(1602.677962867216), np.float64(1602.6758856999495), np.float64(1602.673808532683), np.float64(1602.6717313654165), np.float64(1602.66965419815), np.float64(1602.6675770308836), np.float64(1602.665499863617), np.float64(1602.6634226963506), np.float64(1602.6613455290842), np.float64(1602.6592683618176), np.float64(1602.6571911945512), np.float64(1602.6551140272848), np.float64(1602.6530368600183), np.float64(1602.6509596927517), np.float64(1602.6488825254853), np.float64(1602.646805358219), np.float64(1602.6447281909523), np.float64(1602.6426510236859), np.float64(1602.6405738564195), np.float64(1602.6384966891528), np.float64(1602.6364195218864), np.float64(1602.63434235462), np.float64(1602.6322651873534), np.float64(1602.630188020087), np.float64(1602.6281108528206), np.float64(1602.626033685554), np.float64(1602.6239565182875), np.float64(1602.621879351021), np.float64(1602.6198021837545), np.float64(1602.617725016488), np.float64(1602.6156478492217), np.float64(1602.613570681955), np.float64(1602.6114935146886), np.float64(1602.6094163474222), np.float64(1602.6073391801556), np.float64(1602.6052620128892), np.float64(1602.6031848456228), np.float64(1602.6011076783561), np.float64(1602.5990305110897), np.float64(1602.5969533438233), np.float64(1602.594876176557), np.float64(1602.5927990092903), np.float64(1602.5907218420239), np.float64(1602.5886446747575), np.float64(1602.5865675074908), np.float64(1602.5844903402244), np.float64(1602.582413172958), np.float64(1602.5803360056914), np.float64(1602.578258838425), np.float64(1602.5761816711586), np.float64(1602.574104503892), np.float64(1602.5720273366255), np.float64(1602.5699501693591), np.float64(1602.5678730020925), np.float64(1602.565795834826), np.float64(1602.5637186675597), np.float64(1602.561641500293), np.float64(1602.5595643330266), np.float64(1602.5574871657602), np.float64(1602.5554099984936), np.float64(1602.5533328312272), np.float64(1602.5512556639608), np.float64(1602.5491784966941), np.float64(1602.5471013294277), np.float64(1602.5450241621613), np.float64(1602.5429469948947), np.float64(1602.5408698276283), np.float64(1602.5387926603619), np.float64(1602.5367154930955), np.float64(1602.5346383258288), np.float64(1602.5325611585624), np.float64(1602.530483991296), np.float64(1602.5284068240294), np.float64(1602.526329656763), np.float64(1602.5242524894966), np.float64(1602.52217532223), np.float64(1602.5200981549635), np.float64(1602.5180209876971), np.float64(1602.5159438204305), np.float64(1602.513866653164), np.float64(1602.5117894858977), np.float64(1602.509712318631), np.float64(1602.5076351513646), np.float64(1602.5055579840982), np.float64(1602.5034808168316), np.float64(1602.5014036495652), np.float64(1602.4993264822988), np.float64(1602.4972493150321), np.float64(1602.4951721477657), np.float64(1602.4930949804993), np.float64(1602.4910178132327), np.float64(1602.4889406459663), np.float64(1602.4868634787), np.float64(1602.4847863114333), np.float64(1602.4827091441668), np.float64(1602.4806319769004), np.float64(1602.478554809634), np.float64(1602.4764776423674), np.float64(1602.474400475101), np.float64(1602.4723233078346), np.float64(1602.470246140568), np.float64(1602.4681689733015), np.float64(1602.4660918060351), np.float64(1602.4640146387685), np.float64(1602.461937471502), np.float64(1602.4598603042357), np.float64(1602.457783136969), np.float64(1602.4557059697026), np.float64(1602.4536288024362), np.float64(1602.4515516351696), np.float64(1602.4494744679032), np.float64(1602.4473973006368), np.float64(1602.4453201333702), np.float64(1602.4432429661038), np.float64(1602.4411657988373), np.float64(1602.4390886315707), np.float64(1602.4370114643043), np.float64(1602.434934297038), np.float64(1602.4328571297713), np.float64(1602.4307799625049), np.float64(1602.4287027952385), np.float64(1602.4266256279718), np.float64(1602.4245484607054), np.float64(1602.422471293439), np.float64(1602.4203941261726), np.float64(1602.418316958906), np.float64(1602.4162397916396), np.float64(1602.4141626243731), np.float64(1602.4120854571065), np.float64(1602.41000828984), np.float64(1602.4079311225737), np.float64(1602.405853955307), np.float64(1602.4037767880407), np.float64(1602.4016996207743), np.float64(1602.3996224535076), np.float64(1602.3975452862412), np.float64(1602.3954681189748), np.float64(1602.3933909517082), np.float64(1602.3913137844418), np.float64(1602.3892366171754), np.float64(1602.3871594499087), np.float64(1602.3850822826423), np.float64(1602.383005115376), np.float64(1602.3809279481093), np.float64(1602.3788507808429), np.float64(1602.3767736135765), np.float64(1602.3746964463098), np.float64(1602.3726192790434), np.float64(1602.370542111777), np.float64(1602.3684649445104), np.float64(1602.366387777244), np.float64(1602.3643106099776), np.float64(1602.3622334427112), np.float64(1602.3601562754445), np.float64(1602.3580791081781), np.float64(1602.3560019409117), np.float64(1602.353924773645), np.float64(1602.3518476063787), np.float64(1602.3497704391123), np.float64(1602.3476932718456), np.float64(1602.3456161045792), np.float64(1602.3435389373128), np.float64(1602.3414617700462), np.float64(1602.3393846027798), np.float64(1602.3373074355134), np.float64(1602.3352302682467), np.float64(1602.3331531009803), np.float64(1602.331075933714), np.float64(1602.3289987664473), np.float64(1602.3269215991809), np.float64(1602.3248444319145), np.float64(1602.3227672646478), np.float64(1602.3206900973814), np.float64(1602.318612930115), np.float64(1602.3165357628484), np.float64(1602.314458595582), np.float64(1602.3123814283156), np.float64(1602.310304261049), np.float64(1602.3082270937825), np.float64(1602.3061499265161), np.float64(1602.3040727592497), np.float64(1602.301995591983), np.float64(1602.2999184247167), np.float64(1602.2978412574503), np.float64(1602.2957640901836), np.float64(1602.2936869229172), np.float64(1602.2916097556508), np.float64(1602.2895325883842), np.float64(1602.2874554211178), np.float64(1602.2853782538514), np.float64(1602.2833010865847), np.float64(1602.2812239193183), np.float64(1602.279146752052), np.float64(1602.2770695847853), np.float64(1602.274992417519), np.float64(1602.2729152502525), np.float64(1602.2708380829858), np.float64(1602.2687609157194), np.float64(1602.266683748453), np.float64(1602.2646065811864), np.float64(1602.26252941392), np.float64(1602.2604522466536), np.float64(1602.258375079387), np.float64(1602.2562979121205), np.float64(1602.2542207448541), np.float64(1602.2521435775875), np.float64(1602.250066410321), np.float64(1602.2479892430547), np.float64(1602.2459120757883), np.float64(1602.2438349085216), np.float64(1602.2417577412552), np.float64(1602.2396805739888), np.float64(1602.2376034067222), np.float64(1602.2355262394558), np.float64(1602.2334490721894), np.float64(1602.2313719049228), np.float64(1602.2292947376563), np.float64(1602.22721757039), np.float64(1602.2251404031233), np.float64(1602.223063235857), np.float64(1602.2209860685905), np.float64(1602.2189089013239), np.float64(1602.2168317340575), np.float64(1602.214754566791), np.float64(1602.2126773995244), np.float64(1602.210600232258), np.float64(1602.2085230649916), np.float64(1602.206445897725), np.float64(1602.2043687304586), np.float64(1602.2022915631921), np.float64(1602.2002143959255), np.float64(1602.198137228659), np.float64(1602.1960600613927), np.float64(1602.193982894126), np.float64(1602.1919057268597), np.float64(1602.1898285595933), np.float64(1602.1877513923268), np.float64(1602.1856742250602), np.float64(1602.1835970577938), np.float64(1602.1815198905274), np.float64(1602.1794427232608), np.float64(1602.1773655559944), np.float64(1602.175288388728), np.float64(1602.1732112214613), np.float64(1602.171134054195), np.float64(1602.1690568869285), np.float64(1602.1669797196619), np.float64(1602.1649025523955), np.float64(1602.162825385129), np.float64(1602.1607482178624), np.float64(1602.158671050596), np.float64(1602.1565938833296), np.float64(1602.154516716063), np.float64(1602.1524395487966), np.float64(1602.1503623815302), np.float64(1602.1482852142635), np.float64(1602.1462080469971), np.float64(1602.1441308797307), np.float64(1602.142053712464), np.float64(1602.1399765451977), np.float64(1602.1378993779313), np.float64(1602.1358222106646), np.float64(1602.1337450433982), np.float64(1602.1316678761318), np.float64(1602.1295907088654), np.float64(1602.1275135415988), np.float64(1602.1254363743324), np.float64(1602.123359207066), np.float64(1602.1212820397993), np.float64(1602.119204872533), np.float64(1602.1171277052665), np.float64(1602.1150505379999), np.float64(1602.1129733707335), np.float64(1602.110896203467), np.float64(1602.1088190362004), np.float64(1602.106741868934), np.float64(1602.1046647016676), np.float64(1602.102587534401), np.float64(1602.1005103671346), np.float64(1602.0984331998682), np.float64(1602.0963560326015), np.float64(1602.0942788653351), np.float64(1602.0922016980687), np.float64(1602.090124530802), np.float64(1602.0880473635357), np.float64(1602.0859701962693), np.float64(1602.0838930290026), np.float64(1602.0818158617362), np.float64(1602.0797386944698), np.float64(1602.0776615272032), np.float64(1602.0755843599368), np.float64(1602.0735071926704), np.float64(1602.071430025404), np.float64(1602.0693528581373), np.float64(1602.067275690871), np.float64(1602.0651985236045), np.float64(1602.063121356338), np.float64(1602.0610441890715), np.float64(1602.058967021805), np.float64(1602.0568898545384), np.float64(1602.054812687272), np.float64(1602.0527355200056), np.float64(1602.050658352739), np.float64(1602.0485811854726), np.float64(1602.0465040182062), np.float64(1602.0444268509395), np.float64(1602.0423496836731), np.float64(1602.0402725164067), np.float64(1602.03819534914), np.float64(1602.0361181818737), np.float64(1602.0340410146073), np.float64(1602.0319638473406), np.float64(1602.0298866800742), np.float64(1602.0278095128078), np.float64(1602.0257323455412), np.float64(1602.0236551782748), np.float64(1602.0215780110084), np.float64(1602.0195008437418), np.float64(1602.0174236764753), np.float64(1602.015346509209), np.float64(1602.0132693419423), np.float64(1602.011192174676), np.float64(1602.0091150074095), np.float64(1602.007037840143), np.float64(1602.0049606728765), np.float64(1602.00288350561), np.float64(1602.0008063383436), np.float64(1601.998729171077), np.float64(1601.9966520038106), np.float64(1601.9945748365442), np.float64(1601.9924976692776), np.float64(1601.9904205020111), np.float64(1601.9883433347447), np.float64(1601.986266167478), np.float64(1601.9841890002117), np.float64(1601.9821118329453), np.float64(1601.9800346656787), np.float64(1601.9779574984123), np.float64(1601.9758803311458), np.float64(1601.9738031638792), np.float64(1601.9717259966128), np.float64(1601.9696488293464), np.float64(1601.9675716620798), np.float64(1601.9654944948134), np.float64(1601.963417327547), np.float64(1601.9613401602803), np.float64(1601.959262993014), np.float64(1601.9571858257475), np.float64(1601.9551086584809), np.float64(1601.9530314912145), np.float64(1601.950954323948), np.float64(1601.9488771566816), np.float64(1601.946799989415), np.float64(1601.9447228221486), np.float64(1601.9426456548822), np.float64(1601.9405684876156), np.float64(1601.9384913203492), np.float64(1601.9364141530828), np.float64(1601.9343369858161), np.float64(1601.9322598185497), np.float64(1601.9301826512833), np.float64(1601.9281054840167), np.float64(1601.9260283167503), np.float64(1601.9239511494839), np.float64(1601.9218739822172), np.float64(1601.9197968149508), np.float64(1601.9177196476844), np.float64(1601.9156424804178), np.float64(1601.9135653131514), np.float64(1601.911488145885), np.float64(1601.9094109786183), np.float64(1601.907333811352), np.float64(1601.9052566440855), np.float64(1601.9031794768189), np.float64(1601.9011023095525), np.float64(1601.899025142286), np.float64(1601.8969479750194), np.float64(1601.894870807753), np.float64(1601.8927936404866), np.float64(1601.8907164732202), np.float64(1601.8886393059536), np.float64(1601.8865621386872), np.float64(1601.8844849714208), np.float64(1601.8824078041541), np.float64(1601.8803306368877), np.float64(1601.8782534696213), np.float64(1601.8761763023547), np.float64(1601.8740991350883), np.float64(1601.8720219678219), np.float64(1601.8699448005552), np.float64(1601.8678676332888), np.float64(1601.8657904660224), np.float64(1601.8637132987558), np.float64(1601.8616361314894), np.float64(1601.859558964223), np.float64(1601.8574817969563), np.float64(1601.85540462969), np.float64(1601.8533274624235), np.float64(1601.851250295157), np.float64(1601.8491731278905), np.float64(1601.847095960624), np.float64(1601.8450187933574), np.float64(1601.842941626091), np.float64(1601.8408644588246), np.float64(1601.838787291558), np.float64(1601.8367101242916), np.float64(1601.8346329570252), np.float64(1601.8325557897588), np.float64(1601.8304786224921), np.float64(1601.8284014552257), np.float64(1601.8263242879593), np.float64(1601.8242471206927), np.float64(1601.8221699534263), np.float64(1601.8200927861599), np.float64(1601.8180156188932), np.float64(1601.8159384516268), np.float64(1601.8138612843604), np.float64(1601.8117841170938), np.float64(1601.8097069498274), np.float64(1601.807629782561), np.float64(1601.8055526152943), np.float64(1601.803475448028), np.float64(1601.8013982807615), np.float64(1601.799321113495), np.float64(1601.7972439462285), np.float64(1601.795166778962), np.float64(1601.7930896116955), np.float64(1601.791012444429), np.float64(1601.7889352771626), np.float64(1601.786858109896), np.float64(1601.7847809426296), np.float64(1601.7827037753632), np.float64(1601.7806266080966), np.float64(1601.7785494408301), np.float64(1601.7764722735637), np.float64(1601.7743951062973), np.float64(1601.7723179390307), np.float64(1601.7702407717643), np.float64(1601.7681636044979), np.float64(1601.7660864372313), np.float64(1601.7640092699648), np.float64(1601.7619321026984), np.float64(1601.7598549354318), np.float64(1601.7577777681654), np.float64(1601.755700600899), np.float64(1601.7536234336324), np.float64(1601.751546266366), np.float64(1601.7494690990995), np.float64(1601.747391931833), np.float64(1601.7453147645665), np.float64(1601.7432375973), np.float64(1601.7411604300335), np.float64(1601.739083262767), np.float64(1601.7370060955006), np.float64(1601.734928928234), np.float64(1601.7328517609676), np.float64(1601.7307745937012), np.float64(1601.7286974264346), np.float64(1601.7266202591682), np.float64(1601.7245430919018), np.float64(1601.7224659246351), np.float64(1601.7203887573687), np.float64(1601.7183115901023), np.float64(1601.716234422836), np.float64(1601.7141572555693), np.float64(1601.7120800883029), np.float64(1601.7100029210364), np.float64(1601.7079257537698), np.float64(1601.7058485865034), np.float64(1601.703771419237), np.float64(1601.7016942519704), np.float64(1601.699617084704), np.float64(1601.6975399174376), np.float64(1601.695462750171), np.float64(1601.6933855829045), np.float64(1601.691308415638), np.float64(1601.6892312483715), np.float64(1601.687154081105), np.float64(1601.6850769138387), np.float64(1601.682999746572), np.float64(1601.6809225793056), np.float64(1601.6788454120392), np.float64(1601.6767682447726), np.float64(1601.6746910775062), np.float64(1601.6726139102398), np.float64(1601.6705367429731), np.float64(1601.6684595757067), np.float64(1601.6663824084403), np.float64(1601.6643052411737), np.float64(1601.6622280739073), np.float64(1601.6601509066409), np.float64(1601.6580737393745), np.float64(1601.6559965721078), np.float64(1601.6539194048414), np.float64(1601.651842237575), np.float64(1601.6497650703084), np.float64(1601.647687903042), np.float64(1601.6456107357756), np.float64(1601.643533568509), np.float64(1601.6414564012425), np.float64(1601.6393792339761), np.float64(1601.6373020667095), np.float64(1601.635224899443), np.float64(1601.6331477321767), np.float64(1601.63107056491), np.float64(1601.6289933976436), np.float64(1601.6269162303772), np.float64(1601.6248390631106), np.float64(1601.6227618958442), np.float64(1601.6206847285778), np.float64(1601.6186075613111), np.float64(1601.6165303940447), np.float64(1601.6144532267783), np.float64(1601.6123760595117), np.float64(1601.6102988922453), np.float64(1601.6082217249789), np.float64(1601.6061445577122), np.float64(1601.6040673904458), np.float64(1601.6019902231794), np.float64(1601.599913055913), np.float64(1601.5978358886464), np.float64(1601.59575872138), np.float64(1601.5936815541136), np.float64(1601.591604386847), np.float64(1601.5895272195805), np.float64(1601.5874500523141), np.float64(1601.5853728850475), np.float64(1601.583295717781), np.float64(1601.5812185505147), np.float64(1601.579141383248), np.float64(1601.5770642159816), np.float64(1601.5749870487152), np.float64(1601.5729098814486), np.float64(1601.5708327141822), np.float64(1601.5687555469158), np.float64(1601.5666783796491), np.float64(1601.5646012123827), np.float64(1601.5625240451163), np.float64(1601.5604468778497), np.float64(1601.5583697105833), np.float64(1601.5562925433169), np.float64(1601.5542153760503), np.float64(1601.5521382087838), np.float64(1601.5500610415174), np.float64(1601.5479838742508), np.float64(1601.5459067069844), np.float64(1601.543829539718), np.float64(1601.5417523724516), np.float64(1601.539675205185), np.float64(1601.5375980379185), np.float64(1601.5355208706521), np.float64(1601.5334437033855), np.float64(1601.531366536119), np.float64(1601.5292893688527), np.float64(1601.527212201586), np.float64(1601.5251350343196), np.float64(1601.5230578670532), np.float64(1601.5209806997866), np.float64(1601.5189035325202), np.float64(1601.5168263652538), np.float64(1601.5147491979872), np.float64(1601.5126720307208), np.float64(1601.5105948634543), np.float64(1601.5085176961877), np.float64(1601.5064405289213), np.float64(1601.504363361655), np.float64(1601.5022861943883), np.float64(1601.5002090271219), np.float64(1601.4981318598554), np.float64(1601.4960546925888), np.float64(1601.4939775253224), np.float64(1601.491900358056), np.float64(1601.4898231907894), np.float64(1601.487746023523), np.float64(1601.4856688562566), np.float64(1601.4835916889901), np.float64(1601.4815145217235), np.float64(1601.479437354457), np.float64(1601.4773601871907), np.float64(1601.475283019924), np.float64(1601.4732058526577), np.float64(1601.4711286853912), np.float64(1601.4690515181246), np.float64(1601.4669743508582), np.float64(1601.4648971835918), np.float64(1601.4628200163252), np.float64(1601.4607428490588), np.float64(1601.4586656817924), np.float64(1601.4565885145257), np.float64(1601.4545113472593), np.float64(1601.452434179993), np.float64(1601.4503570127263), np.float64(1601.4482798454599), np.float64(1601.4462026781935), np.float64(1601.4441255109268), np.float64(1601.4420483436604), np.float64(1601.439971176394), np.float64(1601.4378940091274), np.float64(1601.435816841861), np.float64(1601.4337396745946), np.float64(1601.431662507328), np.float64(1601.4295853400615), np.float64(1601.4275081727951), np.float64(1601.4254310055287), np.float64(1601.423353838262), np.float64(1601.4212766709957), np.float64(1601.4191995037293), np.float64(1601.4171223364626), np.float64(1601.4150451691962), np.float64(1601.4129680019298), np.float64(1601.4108908346632), np.float64(1601.4088136673968), np.float64(1601.4067365001304), np.float64(1601.4046593328637), np.float64(1601.4025821655973), np.float64(1601.400504998331), np.float64(1601.3984278310643), np.float64(1601.3963506637979), np.float64(1601.3942734965315), np.float64(1601.3921963292648), np.float64(1601.3901191619984), np.float64(1601.388041994732), np.float64(1601.3859648274654), np.float64(1601.383887660199), np.float64(1601.3818104929326), np.float64(1601.379733325666), np.float64(1601.3776561583995), np.float64(1601.3755789911331), np.float64(1601.3735018238665), np.float64(1601.3714246566), np.float64(1601.3693474893337), np.float64(1601.3672703220673), np.float64(1601.3651931548006), np.float64(1601.3631159875342), np.float64(1601.3610388202678), np.float64(1601.3589616530012), np.float64(1601.3568844857348), np.float64(1601.3548073184684), np.float64(1601.3527301512017), np.float64(1601.3506529839353), np.float64(1601.348575816669), np.float64(1601.3464986494023), np.float64(1601.3444214821359), np.float64(1601.3423443148695), np.float64(1601.3402671476028), np.float64(1601.3381899803364), np.float64(1601.33611281307), np.float64(1601.3340356458034), np.float64(1601.331958478537), np.float64(1601.3298813112706), np.float64(1601.327804144004), np.float64(1601.3257269767375), np.float64(1601.3236498094711), np.float64(1601.3215726422045), np.float64(1601.319495474938), np.float64(1601.3174183076717), np.float64(1601.315341140405), np.float64(1601.3132639731386), np.float64(1601.3111868058722), np.float64(1601.3091096386058), np.float64(1601.3070324713392), np.float64(1601.3049553040728), np.float64(1601.3028781368064), np.float64(1601.3008009695398), np.float64(1601.2987238022733), np.float64(1601.296646635007), np.float64(1601.2945694677403), np.float64(1601.292492300474), np.float64(1601.2904151332075), np.float64(1601.2883379659409), np.float64(1601.2862607986744), np.float64(1601.284183631408), np.float64(1601.2821064641414), np.float64(1601.280029296875)]
Upstream Boundary Groundwater Elevations: [np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125), np.float64(1605.26611328125)]
Downstream Boundary Groundwater Elevations: [np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875), np.float64(1601.280029296875)]
#----------------------Define Any River Cells ------------------------#
## Read the CSV file
grid_points_df = pd.read_csv(output_csv)

## Print the first few rows of the dataframe
print(grid_points_df.head())

## Filter out rows with NaN values in the elevation column
grid_points_df = grid_points_df.dropna(subset=['elevation'])

## Remove rows where elevation is -9999
grid_points_df = grid_points_df[grid_points_df['elevation'] != -9999]

print(grid_points_df.head())

## Plot the idomain in the background and surface water elevation on top
fig, ax = plt.subplots(figsize=(10, 8))

## Plot the idomain background
nrow, ncol = idomain.shape[1], idomain.shape[2]
idomain_plot = np.sum(idomain, axis=0)  # Sum across layers to visualize the domain
im = ax.imshow(idomain[0, :, :], cmap="coolwarm", interpolation="nearest", origin="lower",
               extent=[grid_x.min(), grid_x.max(), grid_y.min(), grid_y.max()], alpha=0.7)

## Plot the river cells on top
sc = ax.scatter(grid_points_df['x'], grid_points_df['y'], c=grid_points_df['elevation'], cmap='viridis', marker='o')
plt.colorbar(sc, label='Elevation')

plt.title('River Cells and Model Domain Outline')
plt.xlabel('X Coordinate')
plt.ylabel('Y Coordinate')
plt.show()

print(xorigin, yorigin)

## Read the CSV file
grid_points_df = pd.read_csv(output_csv)

## Crop the CSV data to the extent of the shapefile
cropped_df = grid_points_df[(grid_points_df['x'] >= xmin) & (grid_points_df['x'] <= xmax) &
                            (grid_points_df['y'] >= ymin) & (grid_points_df['y'] <= ymax)]

## Read raster data and extract elevation values
with rasterio.open(output_raster) as src:
    raster_array = src.read(1)  # Read the first band
    raster_transform = src.transform
    raster_crs = src.crs
    raster_bounds_box = box(*src.bounds)  # Create a shapely box for raster bounds
    terrain_elevation = np.ma.masked_equal(raster_array, src.nodata)  # Mask no-data values

## Create a GeoDataFrame for raster bounds
raster_bounds_gdf = gpd.GeoDataFrame({"geometry": [raster_bounds_box]}, crs=hec_ras_crs)

## Calculate the extent of the raster
transform = raster_transform
xmin = transform.c
ymax = transform.f
xmax = xmin + (terrain_elevation.shape[1] * transform.a)
ymin = ymax + (terrain_elevation.shape[0] * transform.e)

## Determine the number of rows and columns based on the cell size
ncol = int((xmax - xmin) / cell_size_x)
nrow = int((ymax - ymin) / cell_size_y)
print(f'Number of columns: {ncol}')
print(f'Number of rows: {nrow}')


## Function to fit CSV data into the model grid
def fit_csv_to_grid(df, ncol, nrow, xmin, ymin, xmax, ymax):
    x_spacing = (xmax - xmin) / ncol
    y_spacing = (ymax - ymin) / nrow
    
    df['x_transformed'] = ((df['x'] - xmin) / x_spacing).astype(int)
    df['y_transformed'] = ((df['y'] - ymin) / y_spacing).astype(int)
    
    return df

## Fit the cropped CSV data into the model grid
cropped_df = fit_csv_to_grid(cropped_df, ncol, nrow, xmin, ymin, xmax, ymax)

## Remove any values below 0
cropped_df = cropped_df[cropped_df['elevation'] >= 0]

# # Plot to visualize
# fig, ax = plt.subplots()
# im = ax.imshow(idomain[0, :, :], cmap="coolwarm", interpolation="nearest", origin="lower",
#                extent=[0, ncol, 0, nrow], alpha=0.7)

# # Add transformed grid points to the plot
# scatter = ax.scatter(cropped_df['x_transformed'], cropped_df['y_transformed'], c=cropped_df['elevation'], cmap='viridis', edgecolor='k')

# plt.colorbar(scatter, ax=ax, label='Elevation')
# plt.xlabel('Transformed X Coordinate')
# plt.ylabel('Transformed Y Coordinate')
# plt.title('Transformed Grid Points and Model Grid')
# plt.show()

## Function to extract river cells
def extract_river_cells(df, idomain, nlay):
    river_cells = []
    for _, row in df.iterrows():
        x, y = int(row['x_transformed']), int(row['y_transformed'])
        river_height = row['elevation']
        if 0 <= x < idomain.shape[2] and 0 <= y < idomain.shape[1]:  # Ensure indices are within bounds
            if np.any(idomain[:, y, x] == 1):
                for k in range(nlay):
                    river_cells.append((k, y, x, river_height))
    return river_cells

## Extract river cells
river_cells = extract_river_cells(cropped_df, idomain, nlay)

## Extract coordinates and elevation from river cells
river_x = [cell[2] for cell in river_cells]
river_y = [cell[1] for cell in river_cells]
river_elevation = [cell[3] for cell in river_cells]

## Plot to visualize
fig, ax = plt.subplots()
im = ax.imshow(idomain[0, :, :], cmap="coolwarm", interpolation="nearest", origin="lower",
               extent=[0, ncol, 0, nrow], alpha=0.7)

## Add transformed river cells to the plot
scatter = ax.scatter(river_x, river_y, c=river_elevation, cmap='viridis', edgecolor='k')

plt.colorbar(scatter, ax=ax, label='Elevation')
plt.xlabel('Transformed X Coordinate')
plt.ylabel('Transformed Y Coordinate')
plt.title('River Cells and Model Grid')
plt.show()
              x             y  elevation
0  2.406094e+06  1.051448e+07        NaN
1  2.406104e+06  1.051448e+07        NaN
2  2.406114e+06  1.051448e+07        NaN
3  2.406124e+06  1.051448e+07        NaN
4  2.406134e+06  1.051448e+07        NaN
                 x             y    elevation
2487  2.407324e+06  1.051459e+07  1600.280029
2488  2.407334e+06  1.051459e+07  1600.299194
2489  2.407344e+06  1.051459e+07  1600.312622
2703  2.407334e+06  1.051460e+07  1600.333008
2704  2.407344e+06  1.051460e+07  1600.345459
_images/f1fbf82982ca0bd83a69cec28bf411621bddaa14a5838a847680378feb027a9d.png
2406093.5149272773 10514475.360625861
Number of columns: 215
Number of rows: 192
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3774883372.py:73: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  df['x_transformed'] = ((df['x'] - xmin) / x_spacing).astype(int)
C:\Users\u4eeevmq\AppData\Local\Temp\ipykernel_23528\3774883372.py:74: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  df['y_transformed'] = ((df['y'] - ymin) / y_spacing).astype(int)
_images/1a506b02b27b19452f9d6d88e2be05e7bb4be8554090bf11f1cd79e0e15032e2.png
#----------------------Create Constant Head Data------------------------#
# Create the CHD package
chd_data = []

# Identify boundary cells where the elevations are <= groundwater elevations
ch_left_boundary = gw_elevation_left  # Groundwater elevation list matching the left boundary cells (nlay, nrow, ncol)
ch_right_boundary = gw_elevation_right  # Groundwater elevation list matching the right boundary cells (nlay, nrow, ncol)
ch_upstream_boundary = gw_elevation_upstream  # Groundwater elevation list matching the upstream boundary cells (nlay, nrow, ncol)
ch_downstream_boundary = gw_elevation_downstream  # Groundwater elevation list matching the downstream boundary cells (nlay, nrow, ncol)

# Set to keep track of unique (nlay, nrow, ncol) coordinates
unique_chd_cells = set()
duplicate_chd_cells = set()

# Add boundary conditions for each side of the model and track duplicates

# Left Boundaries (Constant Head = ch_left_boundary)
for i, cell in enumerate(left_boundary_cells):
    nlay, nrow, ncol = cell[0], cell[1], cell[2]  # Extract nlay, nrow, ncol
    if (nlay, nrow, ncol) not in unique_chd_cells:
        chd_data.append([nlay, nrow, ncol, ch_left_boundary[i]])
        unique_chd_cells.add((nlay, nrow, ncol))  # Add to unique set
    else:
        duplicate_chd_cells.add((nlay, nrow, ncol))  # Track duplicate cells

# Right Boundaries (Constant Head = ch_right_boundary)
for i, cell in enumerate(right_boundary_cells):
    nlay, nrow, ncol = cell[0], cell[1], cell[2]  # Extract nlay, nrow, ncol
    if (nlay, nrow, ncol) not in unique_chd_cells:
        chd_data.append([nlay, nrow, ncol, ch_right_boundary[i]])
        unique_chd_cells.add((nlay, nrow, ncol))  # Add to unique set
    else:
        duplicate_chd_cells.add((nlay, nrow, ncol))  # Track duplicate cells

# Upstream Boundary (Constant Head = ch_upstream_boundary)
for i, cell in enumerate(upstream_boundary_cells):
    nlay, nrow, ncol = cell[0], cell[1], cell[2]  # Extract nlay, nrow, ncol
    if (nlay, nrow, ncol) not in unique_chd_cells:
        chd_data.append([nlay, nrow, ncol, ch_upstream_boundary[i]])
        unique_chd_cells.add((nlay, nrow, ncol))  # Add to unique set
    else:
        duplicate_chd_cells.add((nlay, nrow, ncol))  # Track duplicate cells

# Downstream Boundary (Constant Head = ch_downstream_boundary)
for i, cell in enumerate(downstream_boundary_cells):
    nlay, nrow, ncol = cell[0], cell[1], cell[2]  # Extract nlay, nrow, ncol
    if (nlay, nrow, ncol) not in unique_chd_cells:
        chd_data.append([nlay, nrow, ncol, ch_downstream_boundary[i]])
        unique_chd_cells.add((nlay, nrow, ncol))  # Add to unique set
    else:
        duplicate_chd_cells.add((nlay, nrow, ncol))  # Track duplicate cells

# keeps river cells that are not duplicates
# doesn't override boundary cells to add river cells
for i, cell in enumerate(river_cells):
    nlay, nrow, ncol = cell[0], cell[1], cell[2]  # Extract nlay, nrow, ncol
    if (nlay, nrow, ncol) not in unique_chd_cells:
        chd_data.append([cell[0], cell[1], cell[2], cell[3]])
        unique_chd_cells.add((nlay, nrow, ncol))  # Add to unique set
    else:
        duplicate_chd_cells.add((nlay, nrow, ncol)) # Track duplicate cells (should occur in river cells)

print(f"✅ Total Unique CHD Boundary Cells: {len(unique_chd_cells)}")
print(f"❌ Total Duplicate CHD Boundary Cells: {len(duplicate_chd_cells)}")

# Convert np.float32 to standard Python float
chd_data_converted = []

for item in chd_data:
    # Check if item[3] is a list and convert each element to float
    if isinstance(item[3], list):
        converted_head_value = [float(val) for val in item[3]]
    else:
        converted_head_value = float(item[3])
    
    converted_item = [item[0], item[1], item[2], converted_head_value]
    chd_data_converted.append(converted_item)

print(f"✅ Assigned {len(chd_data_converted)} CHD boundary cells.")

# Optional: print the boundary cell counts
print(f"Left Boundary Cells: {len(left_boundary_cells)}")
print(f"Right Boundary Cells: {len(right_boundary_cells)}")
print(f"Upstream Boundary Cells: {len(upstream_boundary_cells)}")
print(f"Downstream Boundary Cells: {len(downstream_boundary_cells)}")
print(f"River Cells: {len(river_cells)}")
✅ Total Unique CHD Boundary Cells: 18080
❌ Total Duplicate CHD Boundary Cells: 840
✅ Assigned 18080 CHD boundary cells.
Left Boundary Cells: 2080
Right Boundary Cells: 1920
Upstream Boundary Cells: 1120
Downstream Boundary Cells: 1520
River Cells: 12280
# Store new variables
%store boundary_cells
%store left_boundary_cells
%store right_boundary_cells
%store upstream_boundary_cells
%store downstream_boundary_cells
%store all_boundary_cells
%store unique_boundary_cells
%store left_boundary_cells_first_layer
%store right_boundary_cells_first_layer
%store upstream_boundary_cells_first_layer
%store downstream_boundary_cells_first_layer
%store max_elevation_upstream
%store max_elevation_downstream
%store gw_elevation_left_first
%store gw_elevation_left_last
%store gw_elevation_right_first
%store gw_elevation_right_last
%store gw_elevation_upstream_first
%store gw_elevation_upstream_last
%store gw_elevation_downstream_first
%store gw_elevation_downstream_last
%store gw_elevation_left
%store gw_elevation_right
%store gw_elevation_upstream
%store gw_elevation_downstream
%store grid_points_coords
%store elevation_values
%store grid_points_df
%store output_csv
%store cropped_df
%store river_cells
%store river_x
%store river_y
%store river_elevation
%store chd_data
%store unique_chd_cells
%store duplicate_chd_cells
%store chd_data_converted
Stored 'boundary_cells' (list)
Stored 'left_boundary_cells' (list)
Stored 'right_boundary_cells' (list)
Stored 'upstream_boundary_cells' (list)
Stored 'downstream_boundary_cells' (list)
Stored 'all_boundary_cells' (list)
Stored 'unique_boundary_cells' (set)
Stored 'left_boundary_cells_first_layer' (list)
Stored 'right_boundary_cells_first_layer' (list)
Stored 'upstream_boundary_cells_first_layer' (list)
Stored 'downstream_boundary_cells_first_layer' (list)
Stored 'max_elevation_upstream' (float64)
Stored 'max_elevation_downstream' (float64)
Stored 'gw_elevation_left_first' (float64)
Stored 'gw_elevation_left_last' (float64)
Stored 'gw_elevation_right_first' (float64)
Stored 'gw_elevation_right_last' (float64)
Stored 'gw_elevation_upstream_first' (float64)
Stored 'gw_elevation_upstream_last' (float64)
Stored 'gw_elevation_downstream_first' (float64)
Stored 'gw_elevation_downstream_last' (float64)
Stored 'gw_elevation_left' (list)
Stored 'gw_elevation_right' (list)
Stored 'gw_elevation_upstream' (list)
Stored 'gw_elevation_downstream' (list)
Stored 'grid_points_coords' (list)
Stored 'elevation_values' (list)
Stored 'grid_points_df' (DataFrame)
Stored 'output_csv' (str)
Stored 'cropped_df' (DataFrame)
Stored 'river_cells' (list)
Stored 'river_x' (list)
Stored 'river_y' (list)
Stored 'river_elevation' (list)
Stored 'chd_data' (list)
Stored 'unique_chd_cells' (set)
Stored 'duplicate_chd_cells' (set)
Stored 'chd_data_converted' (list)